0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-31 15:12:07 +00:00
Files
termux-packages/x11-packages/thunar/0001-fix-hardcoded-paths.patch
2024-12-17 19:34:59 +00:00

23 lines
679 B
Diff

--- a/plugins/thunar-sendto-email/main.c
+++ b/plugins/thunar-sendto-email/main.c
@@ -434,7 +434,7 @@
gint n;
/* create a temporary directory */
- tmpdir = g_strdup ("/tmp/thunar-sendto-email.XXXXXX");
+ tmpdir = g_strdup ("@TERMUX_PREFIX@/tmp/thunar-sendto-email.XXXXXX");
if (G_UNLIKELY (mkdtemp (tmpdir) == NULL))
{
/* tell the user that we failed to create a temporary directory */
--- a/plugins/thunar-uca/thunar-uca-model.c
+++ b/plugins/thunar-uca/thunar-uca-model.c
@@ -53,7 +53,7 @@
/* not all systems define _PATH_BSHELL */
#ifndef _PATH_BSHELL
-#define _PATH_BSHELL "/bin/sh"
+#define _PATH_BSHELL "@TERMUX_PREFIX@/bin/sh"
#endif