aboutsummaryrefslogtreecommitdiffstats
path: root/macroszification
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>2000-07-22 19:48:01 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>2000-07-22 19:48:01 +0000
commita64993e9951cb1df7747550fcc1c0e07691ad040 (patch)
treec2298b688dde5f8de37962a2536fede44b58e413 /macroszification
parentc54badafef4f2cecc7c24d57a4a6d2d2d54f1d7a (diff)
downloadspec-helper-a64993e9951cb1df7747550fcc1c0e07691ad040.tar
spec-helper-a64993e9951cb1df7747550fcc1c0e07691ad040.tar.gz
spec-helper-a64993e9951cb1df7747550fcc1c0e07691ad040.tar.bz2
spec-helper-a64993e9951cb1df7747550fcc1c0e07691ad040.tar.xz
spec-helper-a64993e9951cb1df7747550fcc1c0e07691ad040.zip
Add check for Docdir: it's not good !!
Diffstat (limited to 'macroszification')
-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