fix: Fixes scripts that download not being executable.

This commit is contained in:
2025-04-21 11:00:41 -04:00
parent c59fb1df18
commit 36c7d24d04

View File

@@ -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