Add a fake mailSettings config
[mono.git] / scripts / mono-find-provides.in
index ff649639f470058ee2bcea531f410a34865751c4..de468c27e685d0c96086dd1f0aadab8c38e75d74 100644 (file)
@@ -14,7 +14,8 @@ 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
 
 a=`which "$0"`
 d=`dirname "$a"`
@@ -26,8 +27,11 @@ exec_prefix=$d/..
 libdir=$prefix/@reloc_libdir@
 bindir=$d
 
-[ -x $bindir/monodis ] || exit 0;
-[ -f $libdir/libmono.so ] || exit 0;
+# Bail out if monodis or libmono is missing
+if [ ! -x $bindir/monodis ] || [ ! -f $libdir/libmono.so ] ; then
+       echo "monodis missing or unusable, exiting..."
+       exit 1
+fi
 
 
 # set LD_LIBRARY_PATH to ensure that libmono.so is found