@ -206,7 +206,7 @@ if [ -s "`kde-config --localprefix`/share/config/$RCFILE" -a "$RESET_CONF" != "1
done
done
HOW_ROOT="`ReadConfig how_root`"
HOW_ROOT="`ReadConfig how_root`"
if[ -z "$HOW_ROOT"];then#Save default value if empty
if[ -z "$HOW_ROOT"];then#Save default value if empty
HOW_ROOT="kdesu"
HOW_ROOT="tdesu"
WriteConfig how_root "$HOW_ROOT"
WriteConfig how_root "$HOW_ROOT"
fi
fi
USE_ID="`ReadConfig use_id`"
USE_ID="`ReadConfig use_id`"
@ -253,9 +253,9 @@ else
fi
fi
## What to use to get root privileges for installation?
## What to use to get root privileges for installation?
HOW_ROOT="`kdialog --radiolist \"How do you want Amarok-svn to get root privileges for the install/uninstall commands?\" kdesu \"With 'kdesu' (default, choose this if unsure)\" on sudo \"With 'sudo'\" off \"su -c\" \"With 'su -c'\" off`"
HOW_ROOT="`kdialog --radiolist \"How do you want Amarok-svn to get root privileges for the install/uninstall commands?\" tdesu \"With 'tdesu' (default, choose this if unsure)\" on sudo \"With 'sudo'\" off \"su -c\" \"With 'su -c'\" off`"
if[ -z "$HOW_ROOT"];then#Fallback if the user pressed cancel
if[ -z "$HOW_ROOT"];then#Fallback if the user pressed cancel
HOW_ROOT="kdesu"
HOW_ROOT="tdesu"
fi
fi
WriteConfig how_root "$HOW_ROOT"
WriteConfig how_root "$HOW_ROOT"
@ -569,7 +569,7 @@ else
echo"(You probably have to enter the root password now.)"
echo"(You probably have to enter the root password now.)"
su -c "bash $TMP_OLD_UNINFO"
su -c "bash $TMP_OLD_UNINFO"
else
else
kdesu -t bash $TMP_OLD_UNINFO
tdesu -t bash $TMP_OLD_UNINFO
fi
fi
#No error check here because it seems to trigger even when there is no error, I can't figure out why...
#No error check here because it seems to trigger even when there is no error, I can't figure out why...
#It doesn't matter much if this step fails anyway...
#It doesn't matter much if this step fails anyway...