diff options
author | Doug Barton <dougb@FreeBSD.org> | 2008-06-12 20:33:04 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2008-06-12 20:33:04 +0000 |
commit | 0eab31bb778ac2ed515570762929aefca9ddd85c (patch) | |
tree | f1b16cd12ebb11b41c8e4aae319e072a5373be37 | |
parent | dc58ac64630032b0a178694657e55007ac1a3d0a (diff) | |
download | ports-0eab31bb778ac2ed515570762929aefca9ddd85c.tar.gz ports-0eab31bb778ac2ed515570762929aefca9ddd85c.zip |
Notes
-rw-r--r-- | ports-mgmt/portmaster/files/portmaster.sh.in | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/ports-mgmt/portmaster/files/portmaster.sh.in b/ports-mgmt/portmaster/files/portmaster.sh.in index 3b9136291461..879f00119e8d 100644 --- a/ports-mgmt/portmaster/files/portmaster.sh.in +++ b/ports-mgmt/portmaster/files/portmaster.sh.in @@ -122,7 +122,7 @@ kill_bad_children () { } safe_exit () { - local files p f + local files p f show_list if [ "$$" -eq "$PARENT_PID" ]; then [ -n "$DI_FILES" -o -n "$FETCH_ONLY" ] && kill_bad_children @@ -177,10 +177,18 @@ safe_exit () { ;; esac - case "$INSTALLED_LIST" in - *\\n\\t*) echo "===>>> The following actions were performed:" + if [ -n "$UPDATE_ALL" ]; then + show_list=all + else + case "$INSTALLED_LIST" in + *\\n\\t*) show_list=all ;; + *\\n) show_list=one ;; + esac + fi + case "$show_list" in + all) echo "===>>> The following actions were performed:" echo -e $INSTALLED_LIST ;; - *\\n) echo "===>>> $ilist complete" ; echo '' ;; + one) echo "===>>> $ilist complete" ; echo '' ;; esac else [ -n "$grep_deps" ] && pm_unlink $grep_deps @@ -1666,11 +1674,11 @@ all_config () { check_exclude $iport || continue - CONFIG_SEEN_LIST="${CONFIG_SEEN_LIST}${origin}:" - DEPTH= check_for_updates $iport $origin || fail 'Update failed' [ -e "$NO_DEP_UPDATES" ] || unset NO_DEP_UPDATES + + CONFIG_SEEN_LIST="${CONFIG_SEEN_LIST}${origin}:" done } ports_by_category |