summaryrefslogtreecommitdiff
path: root/createrepos
blob: 83e2959923119414b4367910af75fb32f0a9db81 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
# Creates the repo structure defined in config

source "$(dirname "$(readlink -e "$0")")/config"

mkdir -p -- "${root_dir}"/{"${PKGPOOL}","${SRCPOOL}"} "${CLEANUP_DESTDIR}" "${SOURCE_CLEANUP_DESTDIR}" "${STAGING}"

"$(dirname "$(readlink -e "$0")")/create-repo" "${PKGREPOS[@]}"