1 2 3 4 5 6 7 8
#!/bin/bash # Creates the repo structure defined in config source $(dirname $0)/config mkdir -p ${FTP_BASE}/{${PKGPOOL},${SRCPOOL}} ${ARCH_BASE} ${CLEANUP_DESTDIR} ${SOURCE_CLEANUP_DESTDIR} ${STAGING} $(dirname $0)/create-repo ${PKGREPOS[@]}