summaryrefslogtreecommitdiffstats
path: root/src/tdeconf_update/kvirc_soundsystem_upd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/tdeconf_update/kvirc_soundsystem_upd.sh')
-rwxr-xr-xsrc/tdeconf_update/kvirc_soundsystem_upd.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tdeconf_update/kvirc_soundsystem_upd.sh b/src/tdeconf_update/kvirc_soundsystem_upd.sh
new file mode 100755
index 00000000..0fe7a9f2
--- /dev/null
+++ b/src/tdeconf_update/kvirc_soundsystem_upd.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Updates kvirc sound system configuration
+KVIRC_CFG_DIR=`sed -n "s/^LocalKvircDirectory=//p" "${HOME}/.trinity/share/config/kvircrc"`
+if [ -n "${KVIRC_CFG_DIR}" ]; then
+ perl -p -i -e "s/^stringSoundSystem=qt$/stringSoundSystem=tqt/" "${KVIRC_CFG_DIR}/config/main.kvc"
+fi
+unset KVIRC_CFG_DIR