namespaces: move pull command under 'portzap' namespace
This commit is contained in:
parent
ee13fd5b62
commit
e87c6c5867
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
pull() {
|
||||
portzap_pull() {
|
||||
portzap_dir=$1
|
||||
pull_mask=$2
|
||||
if [ -e "$portzap_dir/.git" ]; then
|
Loading…
Reference in a new issue