summaryrefslogtreecommitdiffstats
path: root/kkbswitch.upd/kkbswitch_update_14_options
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-08-18 15:43:45 +0200
committerSlávek Banko <[email protected]>2013-08-18 15:43:45 +0200
commitae0c828ac29043e7adc56a78fc18d816b32c12b4 (patch)
tree51cc9b30f40faa951fc029f72c5f5b5e573e863d /kkbswitch.upd/kkbswitch_update_14_options
downloadkkbswitch-ae0c828ac29043e7adc56a78fc18d816b32c12b4.tar.gz
kkbswitch-ae0c828ac29043e7adc56a78fc18d816b32c12b4.zip
Initial import of kkbswitch 1.4.3
Diffstat (limited to 'kkbswitch.upd/kkbswitch_update_14_options')
-rwxr-xr-xkkbswitch.upd/kkbswitch_update_14_options16
1 files changed, 16 insertions, 0 deletions
diff --git a/kkbswitch.upd/kkbswitch_update_14_options b/kkbswitch.upd/kkbswitch_update_14_options
new file mode 100755
index 0000000..db506b3
--- /dev/null
+++ b/kkbswitch.upd/kkbswitch_update_14_options
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# update options section
+IFS='=';
+while read name value; do
+ if [ "$name" = "perwindow_group" ]; then
+ if [ "$value" = "true" ]; then
+ echo "group_scope=2"
+ else
+ echo "group_scope=0"
+ fi
+ echo "# DELETE perwindow_group"
+ else
+ echo "$name=$value"
+ fi
+done