diff options
author | Remi Collet <remi@remirepo.net> | 2024-11-29 10:23:14 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-11-29 10:23:14 +0100 |
commit | 8aaa0f55488847cedf306e7fa9b0915e21256cea (patch) | |
tree | 1340e40deeb4e2cb13183f21cda66e0c304dc283 /mkallrepo | |
parent | 0d04e0c3bc005784439bcbbb24b8dedf8dd6411b (diff) |
Improve workaround to avoid unsigned src.rpm
Diffstat (limited to 'mkallrepo')
-rwxr-xr-x | mkallrepo | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -33,8 +33,11 @@ do fi done -find SRPMS -name \*.rpm \( -newer SRPMS/repodata -o -mtime -1 \) -print >>$TMPSIG +# if something added in SRPMS, search for new SRPM +if [ SRPMS -nt SRPMS/repodata ]; then + find SRPMS -name \*.rpm \( -newer SRPMS/repodata -o -mtime -1 \) -print >>$TMPSIG +fi if [ -s $TMPSIG ]; then echo "À signer:"; sort < $TMPSIG |