summaryrefslogtreecommitdiffstats
path: root/mkallrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-08-02 14:45:40 +0200
committerRemi Collet <remi@php.net>2022-08-02 14:45:40 +0200
commit29f539534a062769b1d7cfb154786e9a256912c2 (patch)
treea253660ad807e9ae96cbdd1f09b194e678c0ce58 /mkallrepo
parent14f4f0bb015e255d004f30c998e4d93dab1bf875 (diff)
el9 aarch64 helpers
Diffstat (limited to 'mkallrepo')
-rwxr-xr-xmkallrepo12
1 files changed, 7 insertions, 5 deletions
diff --git a/mkallrepo b/mkallrepo
index dd695fd..79abb6d 100755
--- a/mkallrepo
+++ b/mkallrepo
@@ -19,12 +19,14 @@ do
LST=""
if [ -d $dep/repodata -a $dep -nt $dep/repodata -a ! -f $dep/.closed ]
then echo "== Nouveaux RPM dans $dep =="
- if [ $arch = x86_64 ]
- then
- find $dep -name \*.rpm -a -newer $dep/repodata -print >>$TMPSIG
+ if [ $arch = x86_64 ]; then
+ find $dep -name \*.rpm -a -newer $dep/repodata -print >>$TMPSIG
+ elif [ $arch = aarch64 ]; then
+ find $dep -name \*.noarch.rpm -a -newer $dep/repodata -print >>$TMPLNK
+ find $dep -name \*.aarch64.rpm -a -newer $dep/repodata -print >>$TMPSIG
else
- find $dep -name \*.noarch.rpm -a -newer $dep/repodata -print >>$TMPLNK
- find $dep -name \*.i?86.rpm -a -newer $dep/repodata -print >>$TMPSIG
+ find $dep -name \*.noarch.rpm -a -newer $dep/repodata -print >>$TMPLNK
+ find $dep -name \*.i?86.rpm -a -newer $dep/repodata -print >>$TMPSIG
fi
fi