summaryrefslogtreecommitdiff
path: root/extra/xbs-lukeshu/db-init
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-26 04:39:17 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-26 04:39:17 -0300
commitb878c56002c5777dcbf6d713b0002aead5169286 (patch)
tree63d81edf3a21bd76f78f872709f6da5ce5aae582 /extra/xbs-lukeshu/db-init
parente1f1ba1883d5cd76f0a1de7ce0c39af971bf79bb (diff)
remove more duplicated files
Diffstat (limited to 'extra/xbs-lukeshu/db-init')
-rwxr-xr-xextra/xbs-lukeshu/db-init6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/xbs-lukeshu/db-init b/extra/xbs-lukeshu/db-init
new file mode 100755
index 0000000..e25dbff
--- /dev/null
+++ b/extra/xbs-lukeshu/db-init
@@ -0,0 +1,6 @@
+#!/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}"