summaryrefslogtreecommitdiff
path: root/extra/lukeshu-xbs/db-init
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lukeshu-xbs/db-init')
-rwxr-xr-xextra/lukeshu-xbs/db-init6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/lukeshu-xbs/db-init b/extra/lukeshu-xbs/db-init
new file mode 100755
index 0000000..e25dbff
--- /dev/null
+++ b/extra/lukeshu-xbs/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}"