Handle gdk-pixbuf's dynamic format support better

If we use it, install an update script.
This commit is contained in:
2022-07-25 18:47:10 +02:00
parent dcc5b6c719
commit fa034a1a6a
2 changed files with 23 additions and 20 deletions

4
fiv-update-desktop-files.in Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh -e
sed -i "s|^MimeType=.*|MimeType=$(
"${DESTDIR:+$DESTDIR/}"'@EXE@' --list-supported-media-types | tr '\n' ';'
)|" "${DESTDIR:+$DESTDIR/}"'@DESKTOP@'