krusader/0001-Don-t-hardcode-appdata-location.patch

27 lines
826 B
Diff

From 84bf36bf7f9f7cbbc5883c7aba405cb5b5d32460 Mon Sep 17 00:00:00 2001
From: Hrvoje Senjan <hrvoje.senjan@gmail.com>
Date: Sun, 23 Oct 2016 19:28:08 +0200
Subject: [PATCH 1/1] Don't hardcode appdata location
We have a var for that
---
krusader/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/krusader/CMakeLists.txt b/krusader/CMakeLists.txt
index e3d92cf..c300722 100644
--- a/krusader/CMakeLists.txt
+++ b/krusader/CMakeLists.txt
@@ -96,7 +96,7 @@ install(FILES midnight_commander.color
splash.png
DESTINATION ${DATA_INSTALL_DIR}/krusader)
install(FILES org.kde.krusader.appdata.xml
- DESTINATION ${SHARE_INSTALL_PREFIX}/appdata)
+ DESTINATION ${KDE_INSTALL_METAINFODIR})
ecm_install_icons(ICONS
icons/16-apps-krusader_blue.png
--
2.10.0