changeset 1069:709a7633a2c6

Use su -l instead of plain su to get userenv.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 10 Sep 2014 16:31:49 +0200
parents 4e93a87d89eb
children f110a3f6e387
files packaging/linux-installer.inc.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packaging/linux-installer.inc.in	Wed Sep 10 16:18:20 2014 +0200
+++ b/packaging/linux-installer.inc.in	Wed Sep 10 16:31:49 2014 +0200
@@ -254,7 +254,7 @@
     echo "      'sudo $0 -d'"
     getxt "And install it again without sudo:\n"
     echo "       $0"
-    RUNCMD="su $SUDO_USER -c "
+    RUNCMD="su -l $SUDO_USER -c "
   else
     getxt "If you want to change the certificates of all users\n"
     getxt "uninstall it with:\n"

http://wald.intevation.org/projects/trustbridge/