Lines 649-655
Link Here
|
649 |
configfile="$1" |
649 |
configfile="$1" |
650 |
configsection="$2" |
650 |
configsection="$2" |
651 |
configkey="$3" |
651 |
configkey="$3" |
652 |
if [ x"${KDE_SESSION_VERSION}" = x"5" ]; then |
652 |
if [ x"${KDE_SESSION_VERSION}" = x"6" ]; then |
|
|
653 |
application="`kreadconfig6 --file $configfile --group $configsection --key $configkey`" |
654 |
elif [ x"${KDE_SESSION_VERSION}" = x"5" ]; then |
653 |
application="`kreadconfig5 --file $configfile --group $configsection --key $configkey`" |
655 |
application="`kreadconfig5 --file $configfile --group $configsection --key $configkey`" |
654 |
else |
656 |
else |
655 |
application="`kreadconfig --file $configfile --group $configsection --key $configkey`" |
657 |
application="`kreadconfig --file $configfile --group $configsection --key $configkey`" |
Lines 768-774
Link Here
|
768 |
|
770 |
|
769 |
# Plasma < 5.19 |
771 |
# Plasma < 5.19 |
770 |
set_browser_mime "$1" "text/html" || return |
772 |
set_browser_mime "$1" "text/html" || return |
771 |
if [ x"${KDE_SESSION_VERSION}" = x"5" ]; then |
773 |
if [ x"${KDE_SESSION_VERSION}" = x"6" ]; then |
|
|
774 |
kwriteconfig6 --file kdeglobals --group General --key BrowserApplication "$1" |
775 |
elif [ x"${KDE_SESSION_VERSION}" = x"5" ]; then |
772 |
kwriteconfig5 --file kdeglobals --group General --key BrowserApplication "$1" |
776 |
kwriteconfig5 --file kdeglobals --group General --key BrowserApplication "$1" |
773 |
else |
777 |
else |
774 |
kwriteconfig --file kdeglobals --group General --key BrowserApplication "$1" |
778 |
kwriteconfig --file kdeglobals --group General --key BrowserApplication "$1" |