summaryrefslogtreecommitdiff
path: root/createrepos
blob: df279bd1d427a41e8bac0a8ea0f86eb6c1a559b6 (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}"/{"${native_packages_pool}","${native_sources_pool}"} "${cleanup_destination_directory}" "${source_cleanup_destination_directory}" "${staging_directory}"

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