diff packaging/linux-installer.inc.in @ 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 7e1fd6d96714
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/