aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
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