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 ..
|
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
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue