tazpkg diff modules/get @ rev 972
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 08:21:22 2019 +0100 (2019-02-26) |
parents | d2dc3d5ed06d |
children |
line diff
1.1 --- a/modules/get Mon Nov 26 20:27:56 2018 +0200 1.2 +++ b/modules/get Tue Feb 26 08:21:22 2019 +0100 1.3 @@ -65,9 +65,9 @@ 1.4 1.5 local cache_dir 1.6 1.7 - if [ "$2" == 'extra' ]; then 1.8 + if [ "$2" = 'extra' ]; then 1.9 cache_dir="$SAVE_CACHE_DIR/extra/packages" 1.10 - elif [ "$1" == "$PKGS_DB" ]; then 1.11 + elif [ "$1" = "$PKGS_DB" ]; then 1.12 # Main repository 1.13 cache_dir="$SAVE_CACHE_DIR/$SLITAZ_RELEASE/packages" 1.14 else 1.15 @@ -487,7 +487,7 @@ 1.16 1.17 # Command 'get-install' calls 'get', then 'install' modules. Check package presence here, on the 1.18 # first stage, if '--forced' option not given 1.19 -if [ "$tazpkg_command" == 'get-install' ]; then 1.20 +if [ "$tazpkg_command" = 'get-install' ]; then 1.21 if grep -qs "^$1$" "$BLOCKED"; then 1.22 _ 'Package "%s" blocked.' "$1" >&2 1.23 exit 1