No need to check if OS is Cygwin again
This commit is contained in:
parent
72b1c09fa7
commit
c7163994f2
@ -21,13 +21,8 @@
|
||||
# set -o xtrace
|
||||
|
||||
function check_cygwin {
|
||||
if [ "${1}" = "Cygwin" ]; then
|
||||
if [ "${OS}" = "Cygwin" ]; then
|
||||
printf "%-10s\t\t[OK]\n" "${1}"
|
||||
else
|
||||
printf "%-10s\t\t[NOT INSTALLED]\n" "${1}"
|
||||
fi
|
||||
|
||||
if [ "${1}" = "cygwin" ]; then
|
||||
printf "%-10s\t\t[OK]\n" "${1}"
|
||||
elif [ "$(command -v ${1})" = "" ]; then
|
||||
printf "%-10s\t\t[NOT INSTALLED]\n" "${1}"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user