summaryrefslogtreecommitdiff
path: root/create-repo
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 12:27:35 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 12:27:35 -0400
commit457e2b0ab0870e19bcf9bdcdd88a2c338cc3bfd3 (patch)
tree44f4a8c044269c2e12b91c14287ce6e08a89ec0c /create-repo
parent7d061a7e0faa365ae2448154c010eed26409713d (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")")"