X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=scripts%2Fmono-find-provides.in;h=5b2e20602d5aa6ba0ab18adfd64134432ece4fb2;hb=HEAD;hp=155690d75adad1c75ec255675b443167bc94089f;hpb=a95ec1f5bcbe1f71b3bb59b6296936ae5375d33c;p=mono.git diff --git a/scripts/mono-find-provides.in b/scripts/mono-find-provides.in index 155690d75ad..5b2e20602d5 100644 --- a/scripts/mono-find-provides.in +++ b/scripts/mono-find-provides.in @@ -8,13 +8,15 @@ # (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)\$")) # Only include files with /gac/ in path # (Allows packages to contain private assemblies that don't conflict with other packages) -#monolist=($(printf "%s\n" "${monolist[@]}" | egrep "/gac/")) +monolist=($(printf "%s\n" "${monolist[@]}" | egrep "/gac/")) # Disabled... see ChangeLog # Set the prefix, unless it is overriden (used when building mono rpms)