aboutsummaryrefslogtreecommitdiffstats
path: root/packageinstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packageinstall.sh')
-rw-r--r--packageinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packageinstall.sh b/packageinstall.sh
index c9689a6..78e2cdd 100644
--- a/packageinstall.sh
+++ b/packageinstall.sh
@@ -3,7 +3,7 @@
CHAPTER="$1"
PACKAGE="$2"
-if ! grep "^${PACKAGE}" packages.csv; then
+if ! grep -q "^${PACKAGE}" packages.csv; then
printf "%b" " ${IRED}PACKAGE ${IYLW}${PACKAGE} ${IRED}DOES NOT EXIST!${RST}\n"
exit 1
fi