From 36c7d24d04518e2c460c67dc9204be84f854713c Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Mon, 21 Apr 2025 11:00:41 -0400 Subject: [PATCH] fix: Fixes scripts that download not being executable. --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 8aa8b27..3a6beca 100644 --- a/install.sh +++ b/install.sh @@ -16,11 +16,13 @@ wget "$baseurl/backup.service" -O "$systemdir/backup.service" # Remove the backup script file if it exists and install the backup script. [ -f "$bindir/docker-backup" ] && rm -f "$bindir/docker-backup" -wget "$baseurl/docker-backup.sh" -O "$bindir/docker-backup" +wget "$baseurl/docker-backup.sh" -O "$bindir/docker-backup" && + chmod +x "$bindir/docker-backup" # Remove the restore script file if it exists and install the restore script. [ -f "$bindir/docker-restore" ] && rm -f "$bindir/docker-restore" -wget "$baseurl/docker-restore.sh" -O "$bindir/docker-restore" +wget "$baseurl/docker-restore.sh" -O "$bindir/docker-restore" && + chmod +x "$bindir/docker-restore" # Start services systemctl daemon-reload