diff options
Diffstat (limited to 'mkallrepo')
-rwxr-xr-x | mkallrepo | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 |