diff options
-rw-r--r-- | packageinstall.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packageinstall.sh b/packageinstall.sh index c9689a6..48d93e4 100644 --- a/packageinstall.sh +++ b/packageinstall.sh @@ -3,7 +3,7 @@ CHAPTER="$1" PACKAGE="$2" -if ! grep "^${PACKAGE}" packages.csv; then +if ! grep "^${PACKAGE}" packages.csv >/dev/null 2>&1; then printf "%b" " ${IRED}PACKAGE ${IYLW}${PACKAGE} ${IRED}DOES NOT EXIST!${RST}\n" exit 1 fi |