From a64993e9951cb1df7747550fcc1c0e07691ad040 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Sat, 22 Jul 2000 19:48:01 +0000 Subject: Add check for Docdir: it's not good !! --- macroszification | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/macroszification b/macroszification index fab9ea7..ec244bc 100644 --- a/macroszification +++ b/macroszification @@ -65,6 +65,12 @@ fi } } +[[ -z $nocheck ]] && egrep -q "^Docdir:[[:space:]]+" $file && { + echo "You have a Docdir entry, it's not good !!" + exit; +} + + mv -f $file $file.old if [[ -z $only_fhs ]];then -- cgit v1.2.1