diff options
author | Remi Collet <remi@remirepo.net> | 2022-08-02 14:45:40 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-08-02 14:45:40 +0200 |
commit | 29f539534a062769b1d7cfb154786e9a256912c2 (patch) | |
tree | a253660ad807e9ae96cbdd1f09b194e678c0ce58 /mkallrepo | |
parent | 14f4f0bb015e255d004f30c998e4d93dab1bf875 (diff) |
el9 aarch64 helpers
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 |