wscripts/display_script
raw| 1 | # $Id: display_script,v 1.3 2000/10/03 11:33:41 srk Exp $ |
| 2 | # The worm database seems to be schizoid about weather to include |
| 3 | # the .jpeg extension or not, so we cover all the bases. |
| 4 | |
| 5 | if [ -e $ACEDB/pictures/$1 ] |
| 6 | then |
| 7 | xv $ACEDB/pictures/$1 & |
| 8 | fi |
| 9 | |
| 10 | if [ -e $ACEDB/pictures/$1.jpeg ] |
| 11 | then |
| 12 | xv $ACEDB/pictures/$1.jpeg & |
| 13 | fi |
| 14 | |
| 15 | # You may want to use the -8, -perfect, -rw -nolimits options |
| 16 |