From 50bdd370aeb8eec3c3fab6842ebebb146b69fecc Mon Sep 17 00:00:00 2001 From: minkuk Date: Wed, 28 Sep 2016 11:00:28 +0000 Subject: [PATCH] re sshpass up --- script/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/setup.sh b/script/setup.sh index e90f85b..315d117 100755 --- a/script/setup.sh +++ b/script/setup.sh @@ -3,10 +3,10 @@ #version check if grep centos /etc/*-release; then echo "os : centos, use yum" -sudo apt-get install sshpass +yum install sshpass elif grep ubuntu /etc/*-release; then echo "os : ubuntu, use apt-get install" -yum install sshpass +sudo apt-get install sshpass fi # setup