removed .sh from the filename
This commit is contained in:
parent
0b01a7c805
commit
a17d5aedad
@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "Creating a backup of the current deployment script"
|
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"
|
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"
|
echo "All done"
|
Loading…
x
Reference in New Issue
Block a user