Catch missing vgwort shell program

This commit is contained in:
pbldp 2009-12-20 14:22:08 +00:00
parent c3cf008c43
commit bd7bf19bfb
1 changed files with 14 additions and 10 deletions

View File

@ -280,16 +280,20 @@ fi
#[ $? -ne 0 ] && exit 1
## Add VGWort URL
case $file_input in
'Linux+IPv6-HOWTO.sgml')
echo "NOTICE: add vgwort URL"
./adjust-html-vgwort.sh en
;;
'Linux+IPv6-HOWTO.de.sgml')
echo "NOTICE: add vgwort URL"
./adjust-html-vgwort.sh de
;;
esac
if [ -x ./adjust-html-vgwort.sh ]; then
case $file_input in
'Linux+IPv6-HOWTO.sgml')
echo "NOTICE: add vgwort URL"
./adjust-html-vgwort.sh en
;;
'Linux+IPv6-HOWTO.de.sgml')
echo "NOTICE: add vgwort URL"
./adjust-html-vgwort.sh de
;;
esac
else
echo "NOTICE : can't add vgwort URL (missing adjust-html-vgwort.sh)"
fi
exit 0