aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macroszification6
1 files changed, 6 insertions, 0 deletions
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