installer.kmdr: pass current HOME when calling installer.sh with sudo

This commit is contained in:
Silvan Calarco 2012-01-05 00:40:31 +01:00
parent 6ceab0128c
commit 302ac59602

View File

@ -3366,7 +3366,7 @@ fi
@if (@confirmBox.checked); then
@dcop(@dcopid, KommanderIf, setEnabled(QString,bool), back, false)
@exec("/usr/bin/xset -dpms")
@exec("sudo /usr/share/openmamba/installer/installer.sh -y @dcopid &> ~/.installer.log &")
@exec("sudo HOME=$HOME /usr/share/openmamba/installer/installer.sh -y @dcopid &> ~/.installer.log &")
@exec("dcop kdesktop KScreensaverIface quit")
@endif