installer.kmdr: pass current HOME when calling installer.sh with sudo
This commit is contained in:
parent
6ceab0128c
commit
302ac59602
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user