summaryrefslogtreecommitdiff
path: root/createrepos
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-10-30 20:34:34 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-10-30 20:34:34 -0300
commit666f2b153c4bd06259124dcc6641db6b21495787 (patch)
tree4a8d98073d236317c53b94a9f01743086c255587 /createrepos
parent8bb0c5aa9d00dfe16101329d62691d3f60cf134b (diff)
Seems to work, entering test status.
Diffstat (limited to 'createrepos')
-rwxr-xr-xcreaterepos8
1 files changed, 8 insertions, 0 deletions
diff --git a/createrepos b/createrepos
new file mode 100755
index 0000000..4ee057b
--- /dev/null
+++ b/createrepos
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Creates the repo structure defined in config
+
+source $(dirname $0)/config
+
+mkdir -p ${FTP_BASE}/{${PKGPOOL},${SRCPOOL}} ${ARCH_BASE} ${CLEANUP_DESTDIR} ${SOURCE_CLEANUP_DESTDIR} ${STAGING}
+
+$(dirname $0)/create-repo ${PKGREPOS[@]}