summaryrefslogtreecommitdiff
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
parent722716ef57bfc2cfb0be18fbfda730792998096d (diff)
bin/pkg: pkg_status: do vcs_status instead of dependency / conflict checking
-rw-r--r--.todo3
-rwxr-xr-xbin/pkg9
2 files changed, 9 insertions, 3 deletions
diff --git a/.todo b/.todo
index 72f5fb3..fde2e76 100644
--- a/.todo
+++ b/.todo
@@ -12,6 +12,9 @@
<note priority="low" time="1213441632" done="1215791073">
bin/pkg: pkg_remove: Also remove symlinks from other places (~/.foo and such)
</note>
+ <note priority="medium" time="1217354434">
+ bin/pkg: Dependencies fuer Systemzeugs (binaries / perllibs / debianpakete ...)
+ </note>
<note priority="low" time="1213441687">
bin/pkg: pkg_update: Remove symlinks that break due to the update
</note>
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