comparison 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
comparison
equal deleted inserted replaced
1068:4e93a87d89eb 1069:709a7633a2c6
252 getxt "If you do not want to change the certificates of other users\n" 252 getxt "If you do not want to change the certificates of other users\n"
253 getxt "uninstall it with:\n" 253 getxt "uninstall it with:\n"
254 echo " 'sudo $0 -d'" 254 echo " 'sudo $0 -d'"
255 getxt "And install it again without sudo:\n" 255 getxt "And install it again without sudo:\n"
256 echo " $0" 256 echo " $0"
257 RUNCMD="su $SUDO_USER -c " 257 RUNCMD="su -l $SUDO_USER -c "
258 else 258 else
259 getxt "If you want to change the certificates of all users\n" 259 getxt "If you want to change the certificates of all users\n"
260 getxt "uninstall it with:\n" 260 getxt "uninstall it with:\n"
261 echo " '$0 -d'" 261 echo " '$0 -d'"
262 getxt "And install it again using sudo:\n" 262 getxt "And install it again using sudo:\n"

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