Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Zinkevicius <matt.zinkevicius@hp.com>2015-07-10 04:52:01 +0300
committerMatt Zinkevicius <matt.zinkevicius@hp.com>2015-07-10 04:52:01 +0300
commit157a580d38b2b4a42feebf51d4e690316c0a6951 (patch)
treef262d834c5454339508fb7fe719c71be5c077f75 /scripts/mono-find-provides.in
parent0ecac8b111e87e1015429451ff1f10a95b8ab478 (diff)
Allow disabling the mono-find-provides/requires RPM processing scripts
Diffstat (limited to 'scripts/mono-find-provides.in')
-rw-r--r--scripts/mono-find-provides.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mono-find-provides.in b/scripts/mono-find-provides.in
index 155690d75ad..00c43a32fd3 100644
--- a/scripts/mono-find-provides.in
+++ b/scripts/mono-find-provides.in
@@ -8,6 +8,8 @@
# (C) 2005 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)\$"))