# HG changeset patch # User Christophe Lincoln # Date 1306977200 -7200 # Node ID 59604130cb721f949ae1734d90e305822ff8ac5c # Parent 9cce026722b6a82bb41f86ff3ed2969788cc4a86 tazpkg: clean update list so tazpkg-notify dont comes up on each login diff -r 9cce026722b6 -r 59604130cb72 tazpkg --- a/tazpkg Thu Jun 02 03:09:15 2011 +0200 +++ b/tazpkg Thu Jun 02 03:13:20 2011 +0200 @@ -2440,10 +2440,13 @@ fi case "$install" in y|Y|yes|YES|Yes) - for pkg in `cat $UP_LIST` + for pkg in $(cat $UP_LIST) do echo 'y' | tazpkg get-install $pkg --forced - done ;; + done + # List a generated each time and must be cleaned so + # tazpkg-notify dont find upgrade anymore. + rm $UP_LIST && touch $UP_LIST ;; *) gettext -e "Leaving without any upgrades installed.\n\n" exit 0 ;;