blob: 67716fcb1d593ef204534ea4f8a3ece5b61124b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
## arg 1: the new package version
post_install() {
echo "Warning: Photonvision will change the machine hostname to 'photonvision' on first run."
echo "This can be changed on the Settings page on the web ui at http://localhost:5800"
echo "To enable the photonvision service: systemctl enable --now photonvision"
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
echo "Restart the service to change to $1: systemctl restart photonvision"
}
|