fiv/fiv-update-desktop-files.in

5 lines
162 B
Plaintext
Raw Normal View History

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