summaryrefslogtreecommitdiff
path: root/create-repo
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 12:36:33 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 12:36:33 -0400
commitdf49c9b89e56b6c8d2d20cdcc9e03dc80996fcdd (patch)
tree26a710fd24b38a953d662707d46445662ba0a29b /create-repo
parent63381988ae8a0f4e0c8eaede88b43a5f685ec80f (diff)
use tab indent
Diffstat (limited to 'create-repo')
-rwxr-xr-xcreate-repo18
1 files changed, 9 insertions, 9 deletions
diff --git a/create-repo b/create-repo
index 1ec9798..cfdbc23 100755
--- a/create-repo
+++ b/create-repo
@@ -5,20 +5,20 @@
. "$(dirname "$(readlink -e "$0")")/db-functions"
if [ $# -eq 0 ]; then
- msg "Usage: ${0##*/} repo1 [repo2 ... repoX]"
- exit 1
+ msg "Usage: ${0##*/} repo1 [repo2 ... repoX]"
+ exit 1
fi
msg "Creating repos..."
for _repo in "$@"; do
- msg2 "Creating [${_repo}]"
- mkdir -p "${FTP_BASE}/staging/${_repo}" || \
- error "Failed creating staging dir"
+ msg2 "Creating [${_repo}]"
+ mkdir -p "${FTP_BASE}/staging/${_repo}" || \
+ error "Failed creating staging dir"
- for _arch in "${ARCHES[@]}"; do
- mkdir -p "${FTP_BASE}/${_repo}/os/${_arch}" || \
- error "Failed creating ${_arch} dir"
- done
+ for _arch in "${ARCHES[@]}"; do
+ mkdir -p "${FTP_BASE}/${_repo}/os/${_arch}" || \
+ error "Failed creating ${_arch} dir"
+ done
done
msg "Don't forget to add them to the PKGREPOS array on %s/config" "$(dirname "$(readlink -e "$0")")"