From 179285083d5df864881c98f5f463436c0ab2b1c6 Mon Sep 17 00:00:00 2001 From: minkuk Date: Wed, 28 Sep 2016 10:58:37 +0000 Subject: [PATCH] sshpass install --- README.md | 4 +--- script/setup.sh | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 751fee8..9cb8ddf 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,7 @@ 3. rails - 4. sshpass - - 5. sudo privileges **"without password"** [(see here)](http://askubuntu.com/questions/147241/execute-sudo-without-password) + 4. sudo privileges **"without password"** [(see here)](http://askubuntu.com/questions/147241/execute-sudo-without-password) *Setup:* diff --git a/script/setup.sh b/script/setup.sh index 1ed0737..e90f85b 100755 --- a/script/setup.sh +++ b/script/setup.sh @@ -3,8 +3,10 @@ #version check if grep centos /etc/*-release; then echo "os : centos, use yum" +sudo apt-get install sshpass elif grep ubuntu /etc/*-release; then echo "os : ubuntu, use apt-get install" +yum install sshpass fi # setup