used EASYREPO_SUITES variable for repo init

This commit is contained in:
delta 2021-08-31 22:22:07 +08:00
parent 07ecae0c58
commit d4ab97962e

View file

@ -11,10 +11,17 @@ cd $INCOMING
cd .. cd ..
#set -x #set -x
reprepro -V --basedir $BASEDIR --outdir $OUTDIR createsymlinks stable
reprepro -V --basedir $BASEDIR --outdir $OUTDIR createsymlinks jessie # Check for EASYREPO_SUITES to create symlinks
reprepro -V --basedir $BASEDIR --outdir $OUTDIR createsymlinks unstable EASYREPO_SUITES="${EASYREPO_SUITES:-unstable,sid/stable,buster/testing,bullseye}"
reprepro -V --basedir $BASEDIR --outdir $OUTDIR createsymlinks sid
for $k in $(echo ${EASYREPO_SUITES} | sed "s/\// /g")
do
g=($(echo $i | sed "s/\,/ /g"))
reprepro -V --basedir $BASEDIR --outdir $OUTDIR createsymlinks ${g[0]}
done
# #
# See if we found any new packages # See if we found any new packages
# #