diff options
-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 |