This commit is contained in:
committed by
Git OBS Bridge
parent
64a650bf09
commit
8c64a58df3
22
mimetype.diff
Normal file
22
mimetype.diff
Normal file
@@ -0,0 +1,22 @@
|
||||
--- ./autodeps/linux.prov.orig 2008-09-12 16:23:17.000000000 +0000
|
||||
+++ ./autodeps/linux.prov 2008-09-12 16:37:03.000000000 +0000
|
||||
@@ -11,6 +11,7 @@ solist=($(printf "%s\n" "${filelist[@]}"
|
||||
pythonlist=
|
||||
tcllist=
|
||||
monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$"))
|
||||
+mimetypelist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(desktop)\$"))
|
||||
|
||||
#
|
||||
# --- Alpha does not mark 64bit dependencies
|
||||
@@ -59,6 +60,11 @@ done | sort -u
|
||||
printf "%s\n" "${tcllist[@]}" | /usr/lib/rpm/tcl.prov | sort -u
|
||||
|
||||
#
|
||||
+# --- mimetypes in .desktop files
|
||||
+[ -x /usr/lib/rpm/mimetypes.prov -a -n "$mimetypelist" ] &&
|
||||
+ printf "%s\n" "${mimetypelist[@]}" | /usr/lib/rpm/mimetypes.prov | sort -u
|
||||
+
|
||||
+#
|
||||
# --- Mono exes/dlls
|
||||
: ${MONO_PREFIX=/usr}
|
||||
if [ -x $MONO_PREFIX/bin/mono -a -n "$monolist" ] ; then
|
Reference in New Issue
Block a user