fix: Fixes scripts that download not being executable.
This commit is contained in:
@@ -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.
|
# Remove the backup script file if it exists and install the backup script.
|
||||||
[ -f "$bindir/docker-backup" ] && rm -f "$bindir/docker-backup"
|
[ -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.
|
# Remove the restore script file if it exists and install the restore script.
|
||||||
[ -f "$bindir/docker-restore" ] && rm -f "$bindir/docker-restore"
|
[ -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
|
# Start services
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|||||||
Reference in New Issue
Block a user