summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" ;;