Add check for lua - needed for change-log

This commit is contained in:
Brian Read 2023-07-05 13:56:36 +01:00
parent 36616d567f
commit 21a3a248b2

View File

@ -144,6 +144,16 @@ else
exit 1 exit 1
fi fi
# Check that lua is installed (needed for change-log)
if command -v lua -V > /dev/null; then
if [ $DEBUG ] ; then echo "************lua is installed" ; fi
else
echo "ERROR********************** lua is not installed (try EPEL)**************"
exit 1
fi
# and check for the special scripts - changelog and BogusDateBot.sh - I think these are available in the # and check for the special scripts - changelog and BogusDateBot.sh - I think these are available in the
# mockbuild rpm, but beware Bug:12340 - changelog needs an edit to work! # mockbuild rpm, but beware Bug:12340 - changelog needs an edit to work!
if type -P change-log >/dev/null 2>&1; then if type -P change-log >/dev/null 2>&1; then