removed .sh from the filename

This commit is contained in:
Marcel Stangenberger 2025-04-11 19:20:33 +00:00
parent 0b01a7c805
commit a17d5aedad

View File

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