You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
remmina/remmina-tools.patch

29 lines
1.0 KiB

From 17827fbd95156ad249b429bb0d862b5affa615e8 Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Mon, 24 Nov 2014 12:28:47 +0100
Subject: [PATCH] install external tools to datadir, not user's home dir
---
remmina/external_tools/CMakeLists.txt | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/remmina/external_tools/CMakeLists.txt b/remmina/external_tools/CMakeLists.txt
index 9cc0f89..9492a9c 100644
--- a/remmina/external_tools/CMakeLists.txt
+++ b/remmina/external_tools/CMakeLists.txt
@@ -30,10 +30,7 @@
# version. If you delete this exception statement from all source
# files in the program, then also delete it here.
-
-set(EXTERNAL_TOOLS_DIR "$ENV{HOME}/.remmina/external_tools")
-
-file(MAKE_DIRECTORY ${EXTERNAL_TOOLS_DIR})
+set(EXTERNAL_TOOLS_DIR "${CMAKE_INSTALL_FULL_DATADIR}/remmina/external_tools")
INSTALL(PROGRAMS launcher.sh pause.sh remmina_filezilla_sftp.sh remmina_filezilla_sftp_pki.sh remmina_nslookup.sh remmina_ping.sh remmina_traceroute.sh DESTINATION ${EXTERNAL_TOOLS_DIR})
--
2.1.0