~m-alaa8/ubuntu/raring/im-switch/fix-for-621204

« back to all changes in this revision

Viewing changes to im-switch

  • Committer: Bazaar Package Importer
  • Author(s): Ming Hua
  • Date: 2007-12-28 20:37:46 UTC
  • mfrom: (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20071228203746-0a5rxzpjxitwaytc
Tags: 1.16ubuntu1
* Add md5sum of the /etc/X11/Xsession.d/90im-switch conffile in version 1.3
  (dapper version) in the postinst script, so that if this file is
  unmodified, it will be deleted during dapper-to-hardy upgrade.
  (LP: #176660)
* Change the Maintainer field in debian/control to Ubuntu Core Developers,
  and move Debian's maintainer to XSBC-Original-Maintainer field, according
  to the specification.

Show diffs side-by-side

added added

removed removed

Lines of Context:
309
309
        INDEX=0
310
310
        for i in `possible_im`; do
311
311
            INDEX=$(($INDEX+1))
312
 
            if [ "$PREVIOUS_USR" = "$i" ]; then
313
 
                echo -n "*"
314
 
            else
315
 
                echo -n " "
316
 
            fi
317
 
            if [ "$PREVIOUS_SYS" = "$i" ]; then
318
 
                echo -n "+"
319
 
            else
320
 
                echo -n " "
321
 
            fi
322
312
            if [ -r $DOTXINPUT_PATH/$i ]; then
 
313
                if [ "$PREVIOUS_USR" = "~/.xinput.d/$i" ]; then
 
314
                        echo -n "*"
 
315
                else
 
316
                        echo -n " "
 
317
                fi
 
318
                if [ "$PREVIOUS_SYS" = "~/.xinput.d/$i" ]; then
 
319
                        echo -n "+"
 
320
                else
 
321
                        echo -n " "
 
322
                fi
323
323
                echo "    $INDEX        ~/.xinput.d/$i "
324
324
            else
 
325
                if [ "$PREVIOUS_USR" = "$i" ]; then
 
326
                        echo -n "*"
 
327
                else
 
328
                        echo -n " "
 
329
                fi
 
330
                if [ "$PREVIOUS_SYS" = "$i" ]; then
 
331
                        echo -n "+"
 
332
                else
 
333
                        echo -n " "
 
334
                fi
325
335
                echo "    $INDEX        $i"
326
336
            fi
327
337
        done