summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-07-29 20:37:18 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-07-29 20:37:18 +0200
commit13efc0912455f7e3e861ad653c0a83cb1eb550ae (patch)
treeb33447e38b830e255296f5c1da48e68f47bacd5d /bin/pkg
parent722716ef57bfc2cfb0be18fbfda730792998096d (diff)
bin/pkg: pkg_status: do vcs_status instead of dependency / conflict checking
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg9
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/pkg b/bin/pkg
index 3f821dd..16838e0 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -145,6 +145,10 @@ vcs_upgrade () {
[[ -d .git ]] && {git pull ; return}
}
+vcs_status () {
+ $(list_type $1) status
+}
+
## List stuff
list_is_installed () {
@@ -437,9 +441,8 @@ pkg_list_available () {
pkg_status () {
check_installed $1
cd $PDIR/$1
- check_deps $1
- check_conflicts $1
- checklinks $CL_OPTIONS
+ info "$1:\n"
+ PAGER='' vcs_status $1
}
# Same as with update - if no package is specified, check all