diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-09 10:10:10 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-09 10:10:10 +0200 |
commit | 104ee0a5a3297682de6db8af3a949b9b2e4bd28f (patch) | |
tree | f5287b6dc193cf932d59d96745008754b7dfdc3c /bin/pkg | |
parent | c9aafb5328caceb9d0f750425fdb340317922bbd (diff) |
pkg check -> pkg refresh, this also obsoletes the pkg eval fiddling
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -522,10 +522,12 @@ pkg_status () { } } -pkg_check () { +pkg_refresh () { check_installed $1 cd $PDIR/$1 + populate_collected $1 checklinks $CL_OPTIONS + triggers+=$1 } pkg_update () { @@ -606,7 +608,6 @@ pkg_log () { case $1 in add) pkg_add $2 ;; - check) wrap pkg_check "$2" "Checking" ;; delete) pkg_remove $2 ;; info) pkg_info $2 ;; install) pkg_add $2 ;; @@ -615,6 +616,7 @@ case $1 in local-update) pkg_update_local ;; log) pkg_log $2 ;; push) wrap pkg_push "$2" "Pushing" ;; + refresh) wrap pkg_refresh "$2" "Refreshing" ;; remote-update) pkg_update_remote ;; remove) pkg_remove $2 ;; status) wrap pkg_status "$2" "Checking package status" ;; |