~ubuntu-branches/ubuntu/trusty/rasmol/trusty

« back to all changes in this revision

Viewing changes to src/rasmol_run.sh

  • Committer: Bazaar Package Importer
  • Author(s): Teemu Ikonen
  • Date: 2009-11-24 16:48:04 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091124164804-liuvywcs6l45ibl3
Tags: 2.7.5-1
* New upstream release
* Imakefile: Use Debian versions of library dependencies
* control:
  - Add build-deps to libcvector2-dev, libcqrlib2-dev, libneartree3-dev
  - Update to standards-version 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
#
93
93
 
94
94
 
95
 
VERSION=${RASMOL_VERSION-"RasMol_2_7_4"};
 
95
VERSION=${RASMOL_VERSION-"RasMol_2_7_5"};
96
96
 
97
97
for rasmolarg in "$@" ;
98
98
do
379
379
    /usr/openwin/lib/X11/fonts/Japanese.X \
380
380
    ;
381
381
  do
382
 
    if [ -d $chinesefdir ] ; then
 
382
    if [ -d $japanesefdir ] ; then
383
383
      savecurdir=`pwd`;
384
384
      cd $japanesefdir;
385
385
      RASMOL_JAPANESEFDIR=$japanesefdir;
589
589
    xterm -font "$RASMOL_CP1251TERMFONT" -e $RASMOLPATH/$RASMOL_BIN "$@" &
590
590
  fi
591
591
else
 
592
if [ "$RASMOL_LANG" = "Bulgarian" ] ; then
 
593
  if [ "$RASMOL_DEBUG" ] ; then echo "Starting xterm with CP 1251 font $RASMOL_CP1251TERMFONT" ;
 
594
  fi
 
595
  if [ "$RASMOL_NOSPAWN" ] ; then
 
596
    exec $RASMOLPATH/$RASMOL_BIN "$@"
 
597
  else
 
598
    xterm -font "$RASMOL_CP1251TERMFONT" -e $RASMOLPATH/$RASMOL_BIN "$@" &
 
599
  fi
 
600
else
592
601
  if [ "$RASMOL_DEBUG" ] ; then echo "Starting xterm with Latin1 font $RASMOL_LATIN1TERMFONT" ;
593
602
  fi
594
603
  if [ "$RASMOL_NOSPAWN" ] ; then
599
608
fi
600
609
fi
601
610
fi
 
611
fi
602
612
 
603
613
else
604
614
  # we come here if there is no display