]> rtime.felk.cvut.cz Git - sojka/debian/lightdm.git/blob - debian/patches/04_dont-add-pkglibexecdir-path.patch
26738ca6e399295ae144e64a9520ab0f59a5c97d
[sojka/debian/lightdm.git] / debian / patches / 04_dont-add-pkglibexecdir-path.patch
1 Author: Yves-Alexis Perez <corsac@debian.org>
2 Description: don't add PKGLIBEXEC_DIR to the user PATH
3 --- a/src/session-child.c
4 +++ b/src/session-child.c
5 @@ -457,11 +457,6 @@ session_child_run (int argc, char **argv
6          g_free (value);
7      }
8  
9 -    /* Put our tools directory in the path as a hack so we can use the legacy gdmflexiserver interface */
10 -    path = pam_getenv (pam_handle, "PATH");
11 -    if (path)
12 -        pam_putenv (pam_handle, g_strdup_printf ("PATH=%s:%s", PKGLIBEXEC_DIR, path));
13 -
14      /* Catch terminate signal and pass it to the child */
15      signal (SIGTERM, signal_cb);
16