diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-20 11:46:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-04-02 16:50:04 +0900 |
commit | a1413410ddfec18d3ba95f7a844398ec2d8544c5 (patch) | |
tree | 11a6470833b1d43dd87233b7353ee82c485afccf /src/tdeconf_update/kvirc_soundsystem_upd.sh | |
parent | fa9080a8169fe09e360a9353aae9819093f12f71 (diff) | |
download | kvirc-a1413410ddfec18d3ba95f7a844398ec2d8544c5.tar.gz kvirc-a1413410ddfec18d3ba95f7a844398ec2d8544c5.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f887a3ee8f51b158ffb32d88e1489a6f2e0a9dbb)
Diffstat (limited to 'src/tdeconf_update/kvirc_soundsystem_upd.sh')
-rwxr-xr-x | src/tdeconf_update/kvirc_soundsystem_upd.sh | 8 |
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 |