From 0f4a3a0f2a4357d355aeaee9570f40dc65ecdcc1 Mon Sep 17 00:00:00 2001 From: Carlos Soriano Date: Mon, 4 Sep 2017 20:01:32 +0200 Subject: [PATCH] shared-mime-info.spec: Update comment to generate file-roller It was outdated, trying to access a non-existent defaults.list file. The patch modifies to use the correct gnome-mimeapps.list --- shared-mime-info.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared-mime-info.spec b/shared-mime-info.spec index f0fea96..349654b 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -11,7 +11,7 @@ Source1: gnome-mimeapps.list # for i in `cat /home/hadess/Projects/jhbuild/totem/data/mime-type-list.txt | grep -v audio/flac | grep -v ^#` ; do if grep MimeType /home/hadess/Projects/jhbuild/rhythmbox/data/rhythmbox.desktop.in.in | grep -q "$i;" ; then echo "$i=rhythmbox.desktop;org.gnome.Totem.desktop;" >> totem-defaults.list ; else echo "$i=org.gnome.Totem.desktop;" >> totem-defaults.list ; fi ; done ; for i in `cat /home/hadess/Projects/jhbuild/totem/data/uri-schemes-list.txt | grep -v ^#` ; do echo "x-scheme-handler/$i=org.gnome.Totem.desktop;" >> totem-defaults.list ; done Source2: totem-defaults.list # Generated with: -# for i in `grep MimeType= /usr/share/applications/org.gnome.FileRoller.desktop | sed 's/MimeType=//' | sed 's/;/ /g'` application/x-source-rpm ; do if ! `grep -q $i defaults.list` ; then echo $i=org.gnome.FileRoller.desktop\; >> file-roller-defaults.list ; fi ; done +# for i in `grep MimeType= /usr/share/applications/org.gnome.FileRoller.desktop | sed 's/MimeType=//' | sed 's/;/ /g'` application/x-source-rpm ; do if ! `grep -q $i gnome-mimeapps.list` ; then echo $i=org.gnome.FileRoller.desktop\; >> file-roller-defaults.list ; fi ; done Source3: file-roller-defaults.list # Generated with: # for i in `grep MimeType= /usr/share/applications/eog.desktop | sed 's/MimeType=//' | sed 's/;/ /g'` ; do echo $i=eog.desktop\; >> eog-defaults.list ; done