diff options
author | Matt Zinkevicius <matt.zinkevicius@hp.com> | 2015-07-10 04:52:01 +0300 |
---|---|---|
committer | Matt Zinkevicius <matt.zinkevicius@hp.com> | 2015-07-10 04:52:01 +0300 |
commit | 157a580d38b2b4a42feebf51d4e690316c0a6951 (patch) | |
tree | f262d834c5454339508fb7fe719c71be5c077f75 /scripts/mono-find-requires.in | |
parent | 0ecac8b111e87e1015429451ff1f10a95b8ab478 (diff) |
Allow disabling the mono-find-provides/requires RPM processing scripts
Diffstat (limited to 'scripts/mono-find-requires.in')
-rw-r--r-- | scripts/mono-find-requires.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mono-find-requires.in b/scripts/mono-find-requires.in index d7b6a325bc3..5e0ef2f1cfd 100644 --- a/scripts/mono-find-requires.in +++ b/scripts/mono-find-requires.in @@ -9,6 +9,8 @@ # (C) 2008 Novell (http://www.novell.com) # +if [ -n "$DISABLE_MONO_RPM_AUTO_DEPS" ]; then exit 0; fi + IFS=$'\n' filelist=($(grep -Ev '/usr/doc/|/usr/share/doc/')) monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$")) |