summaryrefslogtreecommitdiff
path: root/share/hydractl
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/hydractl
parent8a41786aa2370742e30226f27e8da8a9b3f5d96a (diff)
downloadhydra-a53ae3757ae6edf7d4a3ff85604cc5219a97cdb5.tar.gz
hydra-a53ae3757ae6edf7d4a3ff85604cc5219a97cdb5.tar.bz2
Deploy hydra on /usr/local/bin (2)
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/deploy6
1 files changed, 3 insertions, 3 deletions
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