summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-01 16:27:29 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-01 16:27:29 +0200
commit0119329e410e24f901cc26745b585f74febf4bc5 (patch)
tree414c8403beeb1712b4956053a6e88f0f4bef87c3 /bin
parent6cb3b8204d124526529f3b83211986cd97c7ed32 (diff)
added pkg_changelog
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index 557faf0..d1c8443 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -242,10 +242,15 @@ pkg_log () {
hg glog | less
}
+pkg_changelog () {
+ [ -r $PDIR/$1/changelog ] && view $PDIR/$1/changelog
+}
+
check_sed
case "$1" in
add) pkg_add "$2" ;;
+ changelog) pkg_changelog "$2" ;;
changeroot) pkg_changesrc "$2" ;;
delete) pkg_remove "$2" ;;
info) pkg_info "$2" ;;