summaryrefslogtreecommitdiffstats
path: root/mkallrepo
diff options
context:
space:
mode:
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