used EASYREPO_SUITES variable for repo init
This commit is contained in:
parent
07ecae0c58
commit
d4ab97962e
1 changed files with 11 additions and 4 deletions
|
@ -11,10 +11,17 @@ cd $INCOMING
|
|||
cd ..
|
||||
|
||||
#set -x
|
||||
reprepro -V --basedir $BASEDIR --outdir $OUTDIR createsymlinks stable
|
||||
reprepro -V --basedir $BASEDIR --outdir $OUTDIR createsymlinks jessie
|
||||
reprepro -V --basedir $BASEDIR --outdir $OUTDIR createsymlinks unstable
|
||||
reprepro -V --basedir $BASEDIR --outdir $OUTDIR createsymlinks sid
|
||||
|
||||
# Check for EASYREPO_SUITES to create symlinks
|
||||
EASYREPO_SUITES="${EASYREPO_SUITES:-unstable,sid/stable,buster/testing,bullseye}"
|
||||
|
||||
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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue