diff options
author | Dario Lombardo <lomato@gmail.com> | 2019-12-05 19:11:13 +0100 |
---|---|---|
committer | Dario Lombardo <lomato@gmail.com> | 2019-12-06 13:32:47 +0000 |
commit | b11640513957476519c4b0df387f53821a91e866 (patch) | |
tree | 80ffd089014553821e3da01135e1f8049e513340 /tools/rpm-setup.sh | |
parent | 9689eea25f98d510423f44d33225fbcd89d77f92 (diff) |
tools: use better operators in package scripts.
Change-Id: I1de75829de5f77fa5fe6c8715b1df76148937bc5
Reviewed-on: https://code.wireshark.org/review/35326
Reviewed-by: João Valverde <j@v6e.pt>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'tools/rpm-setup.sh')
-rwxr-xr-x | tools/rpm-setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/rpm-setup.sh b/tools/rpm-setup.sh index 93bf5079c2..c4eff85ca1 100755 --- a/tools/rpm-setup.sh +++ b/tools/rpm-setup.sh @@ -222,7 +222,7 @@ echo "libnl3/libnl are unavailable" >&2 ACTUAL_LIST=$BASIC_LIST # Now arrange for optional support libraries -if [ $ADDITIONAL != 0 ] +if [ $ADDITIONAL -ne 0 ] then ACTUAL_LIST="$ACTUAL_LIST $ADDITIONAL_LIST" fi @@ -230,7 +230,7 @@ fi $PM $PM_OPT install $ACTUAL_LIST $OPTIONS # Now arrange for optional support libraries -if [ $ADDITIONAL == 0 ] +if [ $ADDITIONAL -eq 0 ] then echo -e "\n*** Optional packages not installed. Rerun with --install-optional to have them.\n" fi |