diff options
author | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-07-22 19:48:01 +0000 |
---|---|---|
committer | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-07-22 19:48:01 +0000 |
commit | a64993e9951cb1df7747550fcc1c0e07691ad040 (patch) | |
tree | c2298b688dde5f8de37962a2536fede44b58e413 | |
parent | c54badafef4f2cecc7c24d57a4a6d2d2d54f1d7a (diff) | |
download | spec-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 !!
-rw-r--r-- | macroszification | 6 |
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 |