Skip to content

Commit 53fd2b6

Browse files
authored
Remove custom update script. This is handled by the update script and the /usr/bin/update is created automatically by the customize function in install.func (#95)
1 parent cb8b8b5 commit 53fd2b6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

install/pialert-install.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ done
7979
sed -i 's#PIALERT_PATH\s*=\s*'\''/home/pi/pialert'\''#PIALERT_PATH = '\''/opt/pialert'\''#' /opt/pialert/config/pialert.conf
8080
sed -i 's/$HOME/\/opt/g' /opt/pialert/install/pialert.cron
8181
crontab /opt/pialert/install/pialert.cron
82-
echo "bash -c \"\$(wget -qLO - https://github.com/leiweibau/Pi.Alert/raw/main/install/pialert_update.sh)\" -s --lxc" >/usr/bin/update
83-
chmod +x /usr/bin/update
8482
echo "python3 /opt/pialert/back/pialert.py 1" >/usr/bin/scan
8583
chmod +x /usr/bin/scan
8684
echo "/opt/pialert/back/pialert-cli set_permissions --lxc" >/usr/bin/permissions

0 commit comments

Comments
 (0)