From 9321943e64f47f1c8d23403b32bc0b2ea230d956 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sat, 18 Jan 2014 23:43:44 +0100 Subject: [PATCH] Install mime info package on Linux. --- share/CMakeLists.txt | 3 +++ share/linux/keepassx.xml | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 share/linux/keepassx.xml diff --git a/share/CMakeLists.txt b/share/CMakeLists.txt index 06b6a52b0..7069c6c4b 100644 --- a/share/CMakeLists.txt +++ b/share/CMakeLists.txt @@ -20,7 +20,10 @@ install(FILES ${DATABASE_ICONS} DESTINATION ${DATA_INSTALL_DIR}/icons/database) if(UNIX AND NOT APPLE) install(DIRECTORY icons/application/ DESTINATION share/icons/hicolor FILES_MATCHING PATTERN "keepassx.png" PATTERN "keepassx.svgz") + install(DIRECTORY icons/application/ DESTINATION share/icons/hicolor + FILES_MATCHING PATTERN "application-x-keepassx.png" PATTERN "application-x-keepassx.svgz") install(FILES linux/keepassx.desktop DESTINATION share/applications) + install(FILES linux/keepassx.xml DESTINATION share/mime/packages) endif(UNIX AND NOT APPLE) if(APPLE) diff --git a/share/linux/keepassx.xml b/share/linux/keepassx.xml new file mode 100644 index 000000000..cd7a0b678 --- /dev/null +++ b/share/linux/keepassx.xml @@ -0,0 +1,8 @@ + + + + KeePass 2 database + + + +