fiv/fiv-update-desktop-files.in
2022-07-25 19:05:37 +02:00

5 lines
162 B
Bash
Executable File

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