namespaces: move pull command under 'portzap' namespace

This commit is contained in:
0x1eef 2023-05-29 00:34:51 -03:00
parent ee13fd5b62
commit e87c6c5867
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ pull_mask=007
# Commands # Commands
. $libexec_dir/commands/portzap-install . $libexec_dir/commands/portzap-install
. $libexec_dir/commands/pull . $libexec_dir/commands/portzap-pull
. $libexec_dir/commands/portzap-clone . $libexec_dir/commands/portzap-clone
# Functions # Functions
@ -28,7 +28,7 @@ case $1 in
"pull") "pull")
require_deps git require_deps git
require_group _portzap require_group _portzap
pull $portzap_dir $pull_mask portzap_pull $portzap_dir $pull_mask
;; ;;
"install") "install")
require_root require_root

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
pull() { portzap_pull() {
portzap_dir=$1 portzap_dir=$1
pull_mask=$2 pull_mask=$2
if [ -e "$portzap_dir/.git" ]; then if [ -e "$portzap_dir/.git" ]; then