~ubuntu-branches/ubuntu/lucid/kkbswitch/lucid

« back to all changes in this revision

Viewing changes to kkbswitch.upd/kkbswitch_update_14_options

  • Committer: Bazaar Package Importer
  • Author(s): Lior Kaplan
  • Date: 2005-09-07 02:01:14 UTC
  • Revision ID: james.westby@ubuntu.com-20050907020114-2wyo9eu21uihq86n
Tags: upstream-1.4.3
ImportĀ upstreamĀ versionĀ 1.4.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# update options section
 
4
IFS='=';
 
5
while read name value; do
 
6
  if [ "$name" = "perwindow_group" ]; then
 
7
    if [ "$value" = "true" ]; then
 
8
      echo "group_scope=2" 
 
9
    else
 
10
      echo "group_scope=0"
 
11
    fi
 
12
    echo "# DELETE perwindow_group"       
 
13
  else
 
14
    echo "$name=$value"              
 
15
  fi       
 
16
done