From e87c6c58676e4e9fdea3e3002bc4af4830647dbf Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Mon, 29 May 2023 00:34:51 -0300 Subject: [PATCH] namespaces: move pull command under 'portzap' namespace --- bin/portzap | 4 ++-- libexec/portzap/commands/{pull => portzap-pull} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename libexec/portzap/commands/{pull => portzap-pull} (94%) diff --git a/bin/portzap b/bin/portzap index 75823e2..2ae38b4 100755 --- a/bin/portzap +++ b/bin/portzap @@ -13,7 +13,7 @@ pull_mask=007 # Commands . $libexec_dir/commands/portzap-install -. $libexec_dir/commands/pull +. $libexec_dir/commands/portzap-pull . $libexec_dir/commands/portzap-clone # Functions @@ -28,7 +28,7 @@ case $1 in "pull") require_deps git require_group _portzap - pull $portzap_dir $pull_mask + portzap_pull $portzap_dir $pull_mask ;; "install") require_root diff --git a/libexec/portzap/commands/pull b/libexec/portzap/commands/portzap-pull similarity index 94% rename from libexec/portzap/commands/pull rename to libexec/portzap/commands/portzap-pull index 34bdcfa..b99cb48 100644 --- a/libexec/portzap/commands/pull +++ b/libexec/portzap/commands/portzap-pull @@ -1,6 +1,6 @@ #!/bin/sh -pull() { +portzap_pull() { portzap_dir=$1 pull_mask=$2 if [ -e "$portzap_dir/.git" ]; then