summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-11-28 17:44:56 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2008-11-28 17:44:56 +0100
commit0ca9f3183173e3c371b06ec9e17f3a5b9f30a4fe (patch)
tree1294413ceeb22269b2b8eda8fe25c86e1752a80a /bin
parent4ebbcd2c6a829d234fb5df38a3a98ac792d970fd (diff)
pkg: Minor documentation and output changes
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index 189ce81..b17bedd 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -390,8 +390,8 @@ function check_prereqs {
}
}
-# Write a package's files to .collected
-# Currently, this is only documentation
+# Write a package's documentation to .collected
+# and symlink it's binaries from ~/bin
function populate_collected {
cd $PDIR/$1 || return
typeset -i bins=0 bino=0 mans=0 mano=0
@@ -502,6 +502,7 @@ function apply_triggers {
}
}
+# Iterate a function over every installed package
function wrap {
function=$1
arg=$2
@@ -596,6 +597,7 @@ function pkg_upgrade {
if [[ $(list_type $1) != $(list_type_local $1) ]] {
clear_line
warn "Incompatible systems. Please reinstall: $1\n"
+ warn " remote '$(list_type $1)' <-> local '$(list_type_local)'\n"
return 9
}
if list_incoming $1; then