diff options
Diffstat (limited to 'extra/lukeshu-xbs/db-init')
-rwxr-xr-x | extra/lukeshu-xbs/db-init | 6 |
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}" |