diff --git a/update/install.sh b/update/install.sh index fa42bc9..2b23c96 100644 --- a/update/install.sh +++ b/update/install.sh @@ -1,6 +1,8 @@ #!/bin/bash echo "Creating a backup of the current deployment script" -cp -f /usr/local/bin/deploy.sh /usr/local/bin/deploy.bck +cp -f /usr/local/bin/deploy /usr/local/bin/deploy.bck echo "Updating XO deployment script" -curl -s -o /usr/local/bin/deploy.sh https://git.xoservice.nl/deploy/deploy.sh +curl -s -o /usr/local/bin/deploy https://git.xoservice.nl/deploy/deploy.sh +chown root:root /usr/local/bin/deploy +chmod ug+x /usr/local/bin/deploy echo "All done" \ No newline at end of file