mambareport: use pkexec instead of kdesudo

This commit is contained in:
Silvan Calarco 2012-11-02 19:46:49 +01:00
parent e525be013d
commit 3932be0528

View File

@ -850,7 +850,7 @@ problemtext=`echo @problem.text() | sed "s|\"|\\\"|"`
SYSTEM_MANUFACTURER=`dcop @dcopid KommanderIf text Manufacturer` \ SYSTEM_MANUFACTURER=`dcop @dcopid KommanderIf text Manufacturer` \
SYSTEM_PRODUCT_NAME=`dcop @dcopid KommanderIf text Product` \ SYSTEM_PRODUCT_NAME=`dcop @dcopid KommanderIf text Product` \
SYSTEM_SERIAL_NUMBER=`dcop @dcopid KommanderIf text Serial` \ SYSTEM_SERIAL_NUMBER=`dcop @dcopid KommanderIf text Serial` \
kdesudo openmamba-makereport @repdir.text() $HOME $inputfile &> $errfile pkexec openmamba-makereport @repdir.text() $HOME $inputfile &> $errfile
ret=$? ret=$?
if [ $ret -eq 0 ]; then if [ $ret -eq 0 ]; then
dcop @dcopid KommanderIf setChecked NextBox true dcop @dcopid KommanderIf setChecked NextBox true