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

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

mkdir -p -- "${root_dir}"/{"${packages_pool}","${sources_pool}"} "${cleanup_destination_directory}" "${source_cleanup_destination_directory}" "${staging_directory}"

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