Improved repo creation step
This commit is contained in:
parent
5f0b0e745d
commit
fb2f60fdb6
1 changed files with 1 additions and 3 deletions
|
|
@ -44,10 +44,9 @@ UPSTREAM=$(grep 'export UPSTREAM=' helpers/config |sed 's/.*=//')
|
||||||
WORKDIR=tmp/makepackage
|
WORKDIR=tmp/makepackage
|
||||||
REPOSITORY=$PWD/repos/$CODENAME
|
REPOSITORY=$PWD/repos/$CODENAME
|
||||||
HELPERS=$PWD/helpers
|
HELPERS=$PWD/helpers
|
||||||
if ! [ -d repos/ ]
|
|
||||||
then
|
|
||||||
for REPO in $(git branch|sed 's/.* //;/master/d')
|
for REPO in $(git branch|sed 's/.* //;/master/d')
|
||||||
do
|
do
|
||||||
|
[ -d $REPOSITORY ] && continue
|
||||||
mkdir -p repos/$REPO/conf repos/$REPO/incoming
|
mkdir -p repos/$REPO/conf repos/$REPO/incoming
|
||||||
cat << EOF > repos/$REPO/conf/distributions
|
cat << EOF > repos/$REPO/conf/distributions
|
||||||
Origin: Trisquel
|
Origin: Trisquel
|
||||||
|
|
@ -74,7 +73,6 @@ cd repos/$REPO
|
||||||
reprepro -v export
|
reprepro -v export
|
||||||
cd ../..
|
cd ../..
|
||||||
done
|
done
|
||||||
fi
|
|
||||||
|
|
||||||
disablescripts(){
|
disablescripts(){
|
||||||
# Disable service starter scripts
|
# Disable service starter scripts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue