From ff2983c207e6ab2a9381e20312355c42307187f6 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 17 Apr 2016 01:56:43 -0400 Subject: Give things more consistent names --- db-init | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 db-init (limited to 'db-init') diff --git a/db-init b/db-init new file mode 100755 index 0000000..8da2455 --- /dev/null +++ b/db-init @@ -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[@]}" -- cgit v1.2.3