# HG changeset patch # User Aleksej Bobylev # Date 1430533348 -10800 # Node ID 547d8bdde963cc8f543d67cae7ce805035b9c000 # Parent c079553f3ad4a9d52dc83a3707756c370eadffc6 tazpkg: try to fix upgrade (-i option, and packages.up) diff -r c079553f3ad4 -r 547d8bdde963 tazpkg --- a/tazpkg Thu Apr 30 02:21:14 2015 +0300 +++ b/tazpkg Sat May 02 05:22:28 2015 +0300 @@ -910,6 +910,9 @@ # Log this activity [ -n "$ROOT" ] || log_pkg Installed + + # Remove package from upgrade list + sed -i "/^$PACKAGE\$/d" $UP_LIST } @@ -2435,7 +2438,7 @@ [ "$install" == "n" ] && exit 0 if [ "$upnb" -gt 0 ]; then if [ "$install" == "y" ]; then - continue + answer=0 else confirm "$(_ 'Do you wish to install them now? (y/N)')" answer=$?