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