tazpkg diff tazpkg-notify @ rev 972
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 08:21:22 2019 +0100 (2019-02-26) |
parents | 50421cb50644 |
children |
line diff
1.1 --- a/tazpkg-notify Sun Feb 19 18:05:03 2017 +0000 1.2 +++ b/tazpkg-notify Tue Feb 26 08:21:22 2019 +0100 1.3 @@ -77,7 +77,7 @@ 1.4 if [ ! -f "$PKGS_DB/packages.info" ]; then 1.5 tooltip="$(_ 'No packages list found')" 1.6 set_yad_action "$cmd_recharge" "$tooltip" 1.7 - [ "$(notify "$tooltip" '1' "$(_n 'Recharge lists')")" == '1' ] && $cmd_recharge 1.8 + [ "$(notify "$tooltip" '1' "$(_n 'Recharge lists')")" = '1' ] && $cmd_recharge 1.9 quit 1.10 fi 1.11 1.12 @@ -85,7 +85,7 @@ 1.13 if [ -n "$mtime" ]; then 1.14 tooltip="$(_ 'Your packages list is older than 10 days')" 1.15 set_yad_action "$cmd_recharge" "$tooltip" 1.16 - [ "$(notify "$tooltip" '1' "$(_n 'Recharge lists')")" == '1' ] && $cmd_recharge 1.17 + [ "$(notify "$tooltip" '1' "$(_n 'Recharge lists')")" = '1' ] && $cmd_recharge 1.18 quit 1.19 fi 1.20 1.21 @@ -96,7 +96,7 @@ 1.22 'There are %s upgradeable packages' "$up" \ 1.23 "<b>$up</b>")" 1.24 set_yad_action "$cmd_up" "$tooltip" 1.25 - [ "$(notify "$tooltip" '1' "$(_n 'Check upgrade')")" == '1' ] && $cmd_up 1.26 + [ "$(notify "$tooltip" '1' "$(_n 'Check upgrade')")" = '1' ] && $cmd_up 1.27 quit 1.28 fi 1.29