summaryrefslogtreecommitdiff
path: root/extra/legacy/createrepos
blob: 8da245596df286184404b2c8342899d24178ce9f (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 -- "${FTP_BASE}"/{"${PKGPOOL}","${SRCPOOL}"} "${CLEANUP_DESTDIR}" "${SOURCE_CLEANUP_DESTDIR}" "${STAGING}"

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