summaryrefslogtreecommitdiff
path: root/createrepos
blob: 4565d8aaf10d854203ff29abba8d726a3ac8c17b (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}"/{"${main_packages_pool}","${main_sources_pool}"} "${cleanup_destination_directory}" "${source_cleanup_destination_directory}" "${staging_directory}"

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