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