[BACK]Return to asir-texmacs CVS log [TXT][DIR] Up to [local] / OpenXM / src / texmacs / asir / src

File: [local] / OpenXM / src / texmacs / asir / src / asir-texmacs (download)

Revision 1.1, Sun Oct 15 12:49:49 2006 UTC (17 years, 7 months ago) by takayama
Branch: MAIN
CVS Tags: R_1_3_1-2, RELEASE_1_3_1_13b, RELEASE_1_2_3_12, HEAD, DEB_REL_1_2_3-9

asir-texmacs is a shell script to start OpenXM/asir
in TeXmacs on Debian.

#!/bin/sh
no_file() {
  if [ ! -f asir-texmacs.tm ]; then 
	cp /usr/share/asir-texmacs/lib/asir-texmacs.tm . ; 
  fi ;
  texmacs asir-texmacs.tm
}
check_asir() {
  if [ ! -f /usr/local/OpenXM/bin/asir ]; then
     if [ ! -d $HOME/.asir-tmp ]; then  
        konsole -e /usr/local/bin/openxm asir-install.sh ; 
     fi ;
  fi
}

check_asir
[ $# -lt 1 ] && no_file && exit 0
texmacs $*