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
|
# 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
|
||||||
|
|
|
@ -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
|
Loading…
Reference in a new issue