diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-02 22:19:34 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-02 22:19:34 +0200 |
commit | 80c04c05c25fbe9b91c5dd0adaf6d1bbc1643bf8 (patch) | |
tree | cbed465c56d147c849d853004770785c6901fc1f | |
parent | b92c8aa4bccd23eacd1a2921dd2535ea1928bdf3 (diff) |
bin/pkg: Added pkg_check (To be worked out)
-rwxr-xr-x | bin/pkg | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -516,6 +516,14 @@ pkg_status () { } } +pkg_check () { + check_installed $1 + cd $PDIR/$1 + check_deps $1 + check_conflicts $1 + checklinks $CL_OPTIONS +} + pkg_update () { pkg_update_remote pkg_update_local @@ -615,6 +623,7 @@ case $1 in add) pkg_add $2 ;; changelog) pkg_changelog $2 ;; changeroot) pkg_changesrc $2 ;; + check) wrap pkg_check "$2" "Checking" ;; delete) pkg_remove $2 ;; doc) pkg_doc $2 ;; info) pkg_info $2 ;; |