tools: fix trailing messages.
authorDario Lombardo <lomato@gmail.com>
Wed, 2 Jan 2019 22:11:24 +0000 (23:11 +0100)
committerPeter Wu <peter@lekensteyn.nl>
Wed, 2 Jan 2019 22:19:43 +0000 (22:19 +0000)
Change-Id: If4f213daaa27f51b1659939244945d9fdddc7772
Reviewed-on: https://code.wireshark.org/review/31309
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
tools/debian-setup.sh

index 51b3bce8ab53321715bcb9e0b9020c3ac0b190e4..10db57d1cf345449f532d81b4adc0ad66b4a547e 100755 (executable)
@@ -176,12 +176,17 @@ apt-get update || exit 2
 # shellcheck disable=SC2086
 apt-get install $ACTUAL_LIST $OPTIONS || exit 2
 
-if [ ! $ADDITIONAL ]
+if [ $ADDITIONAL == 0 ]
 then
-       printf "\\n*** Optional packages not installed. Rerun with --install-optional to have them.\\n"
+       printf "\n*** Optional packages not installed. Rerun with --install-optional to have them.\n"
 fi
 
-if [ ! $DEBDEPS ]
+if [ $DEBDEPS == 0 ]
 then
        printf "\n*** Debian packages build deps not installed. Rerun with --install-deb-deps to have them.\n"
 fi
+
+if [ $TESTDEPS == 0 ]
+then
+       printf "\n*** Test deps not installed. Rerun with --install-test-deps to have them.\n"
+fi