tazpkg rev 477
Edit tazpkg-notify
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Apr 08 21:14:16 2011 +0100 (2011-04-08) |
parents | 10bc53124903 |
children | ec35cf0ec76d |
files | tazpkg-notify |
line diff
1.1 --- a/tazpkg-notify Fri Apr 08 20:46:12 2011 +0100 1.2 +++ b/tazpkg-notify Fri Apr 08 21:14:16 2011 +0100 1.3 @@ -1,11 +1,11 @@ 1.4 #!/bin/sh 1.5 # 1.6 # TazPKG Notify - Notification icon for Tazpkg packages. Recharging pkgs 1.7 -# list can be done automatically at boot, so notify user if some 1.8 -# update are available. Also notify user if the packages list is too 1.9 +# list can be done automatically at boot, so notifies users if some 1.10 +# updates are available. Also notifies users if the packages list is too 1.11 # old and out-of-date or if no packages list found. This script should 1.12 -# be run ny the WM autostart script or ~/.xsession and need a systray to 1.13 -# site in like in LXpanel or Tint2. 1.14 +# be run by the WM autostart script or ~/.xsession and needs a systray to 1.15 +# sit in like in LXpanel or Tint2. 1.16 # 1.17 # Copyright (C) 2011 SliTaz GNU/Linux - GNU gpl v2 1.18 # 1.19 @@ -36,8 +36,8 @@ 1.20 # Message for up 1.21 up_msg() { 1.22 eval_gettext "<b>There is \$up upgradeable packages for your SliTaz \$rel</b> 1.23 -You should upgrade your system to get all latest fixes 1.24 -and improvments from SliTaz contributors" 1.25 +You should upgrade your system to get all the latest fixes 1.26 +and improvements from the SliTaz contributors" 1.27 } 1.28 1.29 # Message for list older than 10 days 1.30 @@ -184,7 +184,7 @@ 1.31 no_list ;; 1.32 *) 1.33 # Sleep first to let tazpkg upgrade on boot finish. Check if 1.34 - # any upgrade, then for an old list and then if any list at all 1.35 + # any upgrades, then for an old list and then if any lists at all 1.36 # (live or first boot) 1.37 sleep 10 1.38 [ "$up" -gt 0 ] && up_notify && exit 0