aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-04-08 15:14:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-04-08 15:14:29 -0300
commita53ae3757ae6edf7d4a3ff85604cc5219a97cdb5 (patch)
treea7dd49a26ed03b7c8ab6185c27dd42ab0b83e6d6 /share
parent8a41786aa2370742e30226f27e8da8a9b3f5d96a (diff)
downloadhydra-a53ae3757ae6edf7d4a3ff85604cc5219a97cdb5.tar.gz
hydra-a53ae3757ae6edf7d4a3ff85604cc5219a97cdb5.tar.bz2
Deploy hydra on /usr/local/bin (2)
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/deploy6
-rwxr-xr-xshare/hydractl/deploy6
2 files changed, 6 insertions, 6 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy
index 50b84b9..35b0604 100755
--- a/share/hydra/deploy
+++ b/share/hydra/deploy
@@ -54,9 +54,9 @@ for node in $NODES; do
# Remove from old location
# We're keep hydra on /usr/local/bin as /usr/local/sbin might
# not be available on $PATH when connecting to a remote system.
- rm /usr/local/sbin/hydra
- rm /usr/local/sbin/hydractl
- rm /usr/local/sbin/hydras
+ sudo rm /usr/local/sbin/hydra
+ sudo rm /usr/local/sbin/hydractl
+ sudo rm /usr/local/sbin/hydras
else
( cd /usr/local/hydra ; sudo git pull ; sudo git reset --hard $COMMIT )
fi
diff --git a/share/hydractl/deploy b/share/hydractl/deploy
index 3b4ae91..969a557 100755
--- a/share/hydractl/deploy
+++ b/share/hydractl/deploy
@@ -49,9 +49,9 @@ if [ ! -d /usr/local/hydra ]; then
# Remove from old location
# We're keep hydra on /usr/local/bin as /usr/local/sbin might
# not be available on $PATH when connecting to a remote system.
- rm /usr/local/sbin/hydra
- rm /usr/local/sbin/hydractl
- rm /usr/local/sbin/hydras
+ $sudo rm /usr/local/sbin/hydra
+ $sudo rm /usr/local/sbin/hydractl
+ $sudo rm /usr/local/sbin/hydras
else
( cd /usr/local/hydra ; $sudo git pull ; $sudo git reset --hard $COMMIT )
fi