summaryrefslogtreecommitdiffstats
path: root/mkallrepo
diff options
context:
space:
mode:
Diffstat (limited to 'mkallrepo')
-rwxr-xr-xmkallrepo7
1 files changed, 4 insertions, 3 deletions
diff --git a/mkallrepo b/mkallrepo
index 219c47a..bf8a796 100755
--- a/mkallrepo
+++ b/mkallrepo
@@ -7,7 +7,7 @@ TMPSIG2=$(mktemp)
cd /home/rpmbuild/site/rpms
#for dep in *.{i386,ppc,ppc64,x86_64} fedora/*/*/{i386,ppc,ppc64,x86_64}
-for dep in fedora/{23,24,25,26}/*/{i386,x86_64} enterprise/{6,7}/*/{i386,x86_64}
+for dep in fedora/{23,24,25,26,27}/*/{i386,x86_64} enterprise/{6,7}/*/{i386,x86_64}
do
arch=${dep##*/}
@@ -32,6 +32,7 @@ if [ -s $TMPSIG ]; then
echo "À signer:"; sort < $TMPSIG
grep fc26 $TMPSIG > $TMPSIG2
+ grep fc27 $TMPSIG >> $TMPSIG2
grep src.rpm $TMPSIG >> $TMPSIG2
if [ -s $TMPSIG2 ]; then
echo "== Signature des $(cat $TMPSIG2 | wc -l) nouveaux RPM (new) =="
@@ -41,7 +42,7 @@ if [ -s $TMPSIG ]; then
fi
fi
- grep -v fc26 $TMPSIG | grep -v src.rpm > $TMPSIG2
+ grep -v fc26 $TMPSIG | grep -v fc27 | grep -v src.rpm > $TMPSIG2
if [ -s $TMPSIG2 ]; then
echo "== Signature des $(cat $TMPSIG2 | wc -l) nouveaux RPM (old) =="
if rpmsign --define '_gpg_path /home/remi/.gnupgrpm' --define "_gpg_name Remi Collet" --addsign $(cat $TMPSIG2)
@@ -66,7 +67,7 @@ else echo "Rien à lier."
fi
#for dep in *.{i386,ppc,ppc64,x86_64} fedora/*/*/{i386,ppc,ppc64,x86_64}
-for dep in SRPMS fedora/{23,24,25,26}/*/{i386,x86_64} enterprise/{6,7}/*/{i386,x86_64}
+for dep in SRPMS fedora/{23,24,25,26,27}/*/{i386,x86_64} enterprise/{6,7}/*/{i386,x86_64}
do
if [ -d $dep/repodata -a $dep -nt $dep/repodata -a ! -f $dep/.closed ]
then echo "== Actualisation de $dep =="