Merge branch 'master' of waschsauger.bl0rg.net:dirty-helpers

master
neingeist 7 years ago
commit 7cbabccc90

@ -16,12 +16,12 @@ for base_dir in $BASE_DIRS; do
chmod a+r *.rpm chmod a+r *.rpm
chcon -t svirt_sandbox_file_t *.rpm chcon -t svirt_sandbox_file_t *.rpm
# Check for unsigned RPMs # Sign unsigned RPMs
unsigned=`rpm --checksig *.rpm | egrep -v ': .*pgp'` || true unsigned=`rpm --checksig *.rpm | egrep -v ': .*pgp' | sed 's#:.*##'` || true
if [ ${#unsigned} != 0 ]; then if [ ${#unsigned} != 0 ]; then
echo "Unsigned packages:" echo "Unsigned packages:"
echo "$unsigned" echo "$unsigned"
exit 1 rpmsign --addsign $unsigned
fi fi
# Create and sign repodata # Create and sign repodata

Loading…
Cancel
Save