diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-26 03:41:50 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-26 03:41:50 -0300 |
commit | bf43cbddbccc51a1147eb37cd7a64762bde4f506 (patch) | |
tree | 3bfc609c9385b00ec9a3fdbfb79de1620c3f99db /extra/lukeshu-xbs/db-init | |
parent | 50d2db5c271537d78ea0037fe285d081df38fa02 (diff) |
add copy from the lukeshu/xbs repo
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}" |