install to local bin

This commit is contained in:
Alex Dadgar 2017-10-19 12:10:56 -07:00
parent 2dbeced72f
commit b0989f87ac
2 changed files with 4 additions and 4 deletions

View file

@ -15,8 +15,8 @@ function install_consul() {
wget -q -O /tmp/consul.zip ${DOWNLOAD} wget -q -O /tmp/consul.zip ${DOWNLOAD}
unzip -d /tmp /tmp/consul.zip unzip -d /tmp /tmp/consul.zip
mv /tmp/consul /usr/bin/consul mv /tmp/consul /usr/local/bin/consul
chmod +x /usr/bin/consul chmod +x /usr/local/bin/consul
} }
install_consul install_consul

View file

@ -15,8 +15,8 @@ function install_vault() {
wget -q -O /tmp/vault.zip ${DOWNLOAD} wget -q -O /tmp/vault.zip ${DOWNLOAD}
unzip -d /tmp /tmp/vault.zip unzip -d /tmp /tmp/vault.zip
mv /tmp/vault /usr/bin/vault mv /tmp/vault /usr/local/bin/vault
chmod +x /usr/bin/vault chmod +x /usr/local/bin/vault
} }
install_vault install_vault