Skip to content
Snippets Groups Projects
Commit fb2f60fd authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Improved repo creation step

parent 5f0b0e74
No related branches found
No related tags found
No related merge requests found
...@@ -44,10 +44,9 @@ UPSTREAM=$(grep 'export UPSTREAM=' helpers/config |sed 's/.*=//') ...@@ -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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment