diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-07-25 18:47:10 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-07-25 19:05:37 +0200 |
commit | fa034a1a6a5bdc78ae2ea4575635dd8f81330033 (patch) | |
tree | efd97c4ca1123a682000a386a51b0e1804eaa213 /fiv-update-desktop-files.in | |
parent | dcc5b6c719bec84fe90c64037fa9a69f53095c3f (diff) | |
download | fiv-fa034a1a6a5bdc78ae2ea4575635dd8f81330033.tar.gz fiv-fa034a1a6a5bdc78ae2ea4575635dd8f81330033.tar.xz fiv-fa034a1a6a5bdc78ae2ea4575635dd8f81330033.zip |
Handle gdk-pixbuf's dynamic format support better
If we use it, install an update script.
Diffstat (limited to 'fiv-update-desktop-files.in')
-rwxr-xr-x | fiv-update-desktop-files.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fiv-update-desktop-files.in b/fiv-update-desktop-files.in new file mode 100755 index 0000000..bbbe9a9 --- /dev/null +++ b/fiv-update-desktop-files.in @@ -0,0 +1,4 @@ +#!/bin/sh -e +sed -i "s|^MimeType=.*|MimeType=$( + "${DESTDIR:+$DESTDIR/}"'@EXE@' --list-supported-media-types | tr '\n' ';' +)|" "${DESTDIR:+$DESTDIR/}"'@DESKTOP@' |