Skip to content

Commit

Permalink
init script tips
Browse files Browse the repository at this point in the history
  • Loading branch information
ty4z2008 committed Oct 31, 2018
1 parent 398219e commit c28a51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ NEEDED_COMMANDS="soar git"

for cmd in ${NEEDED_COMMANDS} ; do
if ! command -v "${cmd}" &> /dev/null ; then
echo -e "\033[91m${cmd} is not set\033[0m"
echo -e "\033[91m${cmd} is not set.Eg:\nalias ${cmd}=/root/${cmd}\nexport ${cmd}=/root/${cmd}\033[0m"
exit 1
else
echo "${cmd} is install."
Expand Down

0 comments on commit c28a51a

Please sign in to comment.