]> pd.if.org Git - zpackage/commitdiff
add contents action to zpm repo v0.3.4
authorNathan Wagner <nw@hydaspes.if.org>
Mon, 3 Dec 2018 10:56:22 +0000 (10:56 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Mon, 3 Dec 2018 10:57:41 +0000 (10:57 +0000)
zpm-repo

index d1e75fbaf5d4b5bbe106aedcf6a4924b85620291..050e5ae0d9ee6a4a4b9dfde04721464932746fef 100755 (executable)
--- a/zpm-repo
+++ b/zpm-repo
@@ -205,6 +205,11 @@ case $action in
                shift
                zpm list -f $repodir/$repo.repo "$@"
                ;;
+       contents)
+               repo=$1
+               shift
+               zpm contents -f $repodir/$repo.repo "$@"
+               ;;
        *)
                echo unknown action
                exit 1