diff options
Diffstat (limited to 'mkrepo')
-rwxr-xr-x | mkrepo | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#!/bin/bash +# Author: Nicolás Reynolds <fauno@kiwwwi.com.ar> +# License: GPLv3+ +# Description: A script to quickly create new [repos] + +source "$(dirname "$(readlink -e "$0")")/config" + +for repo in "$@"; do + echo ":: Creating [$repo]" + for arch in "${ARCHES[@]}"; do + mkdir -pv "${FTP_BASE}/${repo}/os/${arch}" + done +done + +echo ":: All done. Add the repo to the ParabolaWeb admin page." |