summaryrefslogtreecommitdiffstats
path: root/kkbswitch.upd/kkbswitch_update_14_options
blob: db506b3d5b76931b96ca3f80858d6e2a1ca49e0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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