Allow disabling the mono-find-provides/requires RPM processing scripts
authorMatt Zinkevicius <matt.zinkevicius@hp.com>
Fri, 10 Jul 2015 01:52:01 +0000 (19:52 -0600)
committerMatt Zinkevicius <matt.zinkevicius@hp.com>
Fri, 10 Jul 2015 01:52:01 +0000 (19:52 -0600)
scripts/mono-find-provides.in
scripts/mono-find-requires.in

index 155690d75adad1c75ec255675b443167bc94089f..00c43a32fd33687e1048b82bfd02714df01f9e54 100644 (file)
@@ -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)\$"))
index d7b6a325bc32e17394b502c8ec800400359442e1..5e0ef2f1cfd35e650d84d380c553d3d108a48dc0 100644 (file)
@@ -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)\$"))