diff options
author | André Fettouhi | 2015-06-09 21:39:25 +0200 |
---|---|---|
committer | André Fettouhi | 2015-06-09 21:39:25 +0200 |
commit | 75fa595eb2b7e246dd36167c4f6fe4a931b3a1f5 (patch) | |
tree | fafb45fdc167d698dd15c8a610c7b3eeecec6a35 /gog-dragonsphere | |
download | aur-75fa595eb2b7e246dd36167c4f6fe4a931b3a1f5.tar.gz |
Initial import
Diffstat (limited to 'gog-dragonsphere')
-rw-r--r-- | gog-dragonsphere | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gog-dragonsphere b/gog-dragonsphere new file mode 100644 index 000000000000..be8900870a16 --- /dev/null +++ b/gog-dragonsphere @@ -0,0 +1,13 @@ +#!/usr/bin/bash +gogdir="/opt/gog/dragonsphere" +homedir="$HOME/.gog/dragonsphere" +mkdir -p "$homedir"/{game,config/data/DRAGON} + +if [[ ! -e "$homedir/config/dosboxDragonsphere.conf" ]]; then + cp "$gogdir/dosboxDragonsphere.conf" "$homedir/config/dosboxDragonsphere.conf" +fi + +unionfs "$homedir/config=RW:$gogdir=RO" "$homedir/game" +"$homedir"/game/start.sh +fusermount -u "$homedir/game" + |