updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / ascendancy-non-us / ascendancy-config.sh
blob9b083c3064ba28892fa7269549920bff9ef0938c
1 #! /bin/bash
3 if [ ! -f "/usr/lib/libascendancy.sh" ]; then
4 echo "Can't load /usr/lib/libascendancy.sh" >&2
5 exit 1
6 else
7 . "/usr/lib/libascendancy.sh"
8 fi
10 readonly SCRIPT_NAME="${0}"
12 ascendancy.script.config() {
13 local batchScript='
14 mount -u c
15 mount c "'"${APP_DIR}"'"
17 cd \
18 uvconfig -gen
19 setsound
20 exit
23 SDL_VIDEO_X11_WMCLASS=$(basename "${SCRIPT_NAME%.*}") dosbox -conf "${DOSBOX_CONF}" -exit -c "${batchScript}"
26 ascendancy.run ascendancy.script.config "$@"