X-Git-Url: https://pd.if.org/git/?p=zpackage;a=blobdiff_plain;f=zpm-update;h=fcfb81668887476ce4aa872a051cb262dd312d92;hp=80258b8308a34835fb5ccda80062f28aca6db74d;hb=534ded38135c3a3ed4729b878c7df67be767affb;hpb=d60a7ec96f26d9c1d7a60be0febafda0bbb731fd diff --git a/zpm-update b/zpm-update index 80258b8..fcfb816 100755 --- a/zpm-update +++ b/zpm-update @@ -245,6 +245,12 @@ if [ -n "$baddl" ]; then die fi +for package in $merge; do + pkgid=${package%:*} + installlist="$installlist $pkgid" +done +installlist=${installlist#' '} + if [ $justlist -eq 1 ]; then for package in $merge; do pkgid=${package%:*} @@ -261,7 +267,7 @@ if [ -z "$merge" ] && [ -z "$to_remove" ]; then exit 0 fi -test -n "$merge" && echo "install: $merge" +test -n "$merge" && echo "install: $installlist" test -n "$to_remove" && echo "remove: $to_remove" # finally, merge everything