summaryrefslogtreecommitdiff
path: root/createrepos
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-11-03 11:46:31 -0700
committerParabola <dev@list.parabolagnulinux.org>2011-11-03 11:46:31 -0700
commit27b75785fe18e1e8a2d45f53daf8652ebe579ace (patch)
treec38c9bc9c07db1cf043adaf30666f5322f5d08f1 /createrepos
parentb451313a7edbdbd4a912c93136b53a09a34ae750 (diff)
parentc60d06e050e929d454b447a3cac3263a83d0a445 (diff)
Merge branch 'sync-db-first' of https://projects.parabolagnulinux.org/dbscripts into sync-db-first
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[@]}