Annotation of /trunk/freespace2/fs2-open-wrapper.sh
Parent Directory | Revision Log
Revision 95 -
(hide annotations)
(download)
(as text)
Mon Jan 15 23:50:12 2007 UTC (17 years, 8 months ago) by niro
File MIME type: application/x-sh
File size: 506 byte(s)
Mon Jan 15 23:50:12 2007 UTC (17 years, 8 months ago) by niro
File MIME type: application/x-sh
File size: 506 byte(s)
check if freespace was completely installed
1 | niro | 94 | #!/bin/bash |
2 | niro | 95 | # $Header: /root/magellan-cvs/src/freespace2/fs2-open-wrapper.sh,v 1.2 2007-01-15 23:50:12 niro Exp $ |
3 | niro | 94 | # Wrapper for freespace2 for Magellan-Linux |
4 | |||
5 | niro | 95 | if [[ ! -f /usr/games/freespace2/.installed ]] |
6 | then | ||
7 | echo | ||
8 | echo "This Freespace2 installation is not complete. I need some files from the retail CDs to run." | ||
9 | echo "Please run freespace2-installer to install these missing files." | ||
10 | echo | ||
11 | exit 1 | ||
12 | fi | ||
13 | |||
14 | niro | 94 | cd /usr/games/freespace2 |
15 | |||
16 | ./fs2_open_r -mod mediavps -spec -glow -mipmap -jpgtga -orbradar | ||
17 | exit $? |