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 b813538..be0b347 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -98,9 +98,14 @@ pkg_changesrc () {
}
}
+pkg_list_installed () {
+ =ls -1 $PDIR
+}
+
case "$1" in
add) pkg_add "$2" ;;
changeroot) pkg_changesrc "$2" ;;
+ list) pkg_list_installed ;;
remove) pkg_remove "$2" ;;
update) pkg_update_wrapper "$2" ;;
esac