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

source "$(dirname "$(readlink -e "$0")")/dbscripts.cfg"

mkdir -p -- "${root_dir}"/{"${PKGPOOL}","${SRCPOOL}"} "${cleanup_destination_directory}" "${source_cleanup_destination_directory}" "${staging_directory}"

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