diff options
author | Miguel de Icaza <miguel@gnome.org> | 2015-10-02 00:44:17 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2015-10-02 00:44:17 +0300 |
commit | b26f7890202f367223a1cb48625aee8b43f1b45f (patch) | |
tree | 2f8e690150f0dee990ad768a55709dee0e05821e /scripts | |
parent | 68d4be032a35a0ab430a02e36f55256d80582ec8 (diff) | |
parent | 157a580d38b2b4a42feebf51d4e690316c0a6951 (diff) |
Merge pull request #1921 from mattzink/master
Allow disabling the mono-find-provides/requires RPM processing scripts
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mono-find-provides.in | 2 | ||||
-rw-r--r-- | scripts/mono-find-requires.in | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mono-find-provides.in b/scripts/mono-find-provides.in index 5e440ab046b..5b2e20602d5 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)\$")) 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)\$")) |