summaryrefslogtreecommitdiff
path: root/extra/legacy/createrepos
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-26 03:40:56 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-26 03:40:56 -0300
commit50d2db5c271537d78ea0037fe285d081df38fa02 (patch)
treebcb8911f516a5561b3ec37cb0a010e603a494586 /extra/legacy/createrepos
parent8eafe04ec5eaf917d9e2d58993604c454f1a26d1 (diff)
add copy from the master repo
Diffstat (limited to 'extra/legacy/createrepos')
-rwxr-xr-xextra/legacy/createrepos8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/legacy/createrepos b/extra/legacy/createrepos
new file mode 100755
index 0000000..8da2455
--- /dev/null
+++ b/extra/legacy/createrepos
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Creates the repo structure defined in config
+
+source "$(dirname "$(readlink -e "$0")")/config"
+
+mkdir -p -- "${FTP_BASE}"/{"${PKGPOOL}","${SRCPOOL}"} "${CLEANUP_DESTDIR}" "${SOURCE_CLEANUP_DESTDIR}" "${STAGING}"
+
+"$(dirname "$(readlink -e "$0")")/create-repo" "${PKGREPOS[@]}"