diff options
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@' |