From 53fd2b6cc85ef1329c191827bdc6905076f876c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20B=C3=A9dard-Couture?= Date: Wed, 6 Nov 2024 14:02:34 -0500 Subject: [PATCH] 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) --- install/pialert-install.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/install/pialert-install.sh b/install/pialert-install.sh index 579dd850..119ae699 100644 --- a/install/pialert-install.sh +++ b/install/pialert-install.sh @@ -79,8 +79,6 @@ done sed -i 's#PIALERT_PATH\s*=\s*'\''/home/pi/pialert'\''#PIALERT_PATH = '\''/opt/pialert'\''#' /opt/pialert/config/pialert.conf sed -i 's/$HOME/\/opt/g' /opt/pialert/install/pialert.cron crontab /opt/pialert/install/pialert.cron -echo "bash -c \"\$(wget -qLO - https://github.com/leiweibau/Pi.Alert/raw/main/install/pialert_update.sh)\" -s --lxc" >/usr/bin/update -chmod +x /usr/bin/update echo "python3 /opt/pialert/back/pialert.py 1" >/usr/bin/scan chmod +x /usr/bin/scan echo "/opt/pialert/back/pialert-cli set_permissions --lxc" >/usr/bin/permissions