diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-01-30 15:09:39 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-01-30 15:09:39 +0000 |
commit | 36c1b1f348f18d94edd1e00bc0d2a162c83b26f8 (patch) | |
tree | 70db53647098b9cafec39ef285b11ccee227dc46 /GenDeb.sh | |
parent | 7970985b76f3f146d9ff5eefc695413babb3d00e (diff) | |
download | mana-36c1b1f348f18d94edd1e00bc0d2a162c83b26f8.tar.gz mana-36c1b1f348f18d94edd1e00bc0d2a162c83b26f8.tar.bz2 mana-36c1b1f348f18d94edd1e00bc0d2a162c83b26f8.tar.xz mana-36c1b1f348f18d94edd1e00bc0d2a162c83b26f8.zip |
Updated Debian Auto-Creation Script.
Diffstat (limited to 'GenDeb.sh')
-rwxr-xr-x | GenDeb.sh | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -19,16 +19,16 @@ then exit; fi -if [ ! -f ./tmw.ini ]; # if tmw.ini doesn't exist +if [ ! -d ./data ]; # if the data folder doesn't exist... then - echo "Can't find the tmw.ini file. Maybe this tmw version is uncomplete..."; + echo "Can't find the Mana World datas..." echo "Aborting..."; exit; fi -if [ ! -d ./data ]; # if the data folder doesn't exist... +if [ ! -d ./docs ]; # if the docs folder doesn't exist... then - echo "Can't find the Mana World datas..." + echo "Can't find the Mana World docs..." echo "Aborting..."; exit; fi @@ -55,7 +55,6 @@ mkdir DEBIAN; mkdir usr; mkdir usr/share; mkdir usr/share/manaworld; -#cp ../../tmw.ini ./usr/share/manaworld; cp ../../tmw ./usr/share/manaworld; cp ../../keyboard.dat ./usr/share/manaworld; cp -a ../../data ./usr/share/manaworld; @@ -77,7 +76,6 @@ echo "Creating Rules for the Debian package..." touch DEBIAN/postinst; echo "#!/bin/sh" >>DEBIAN/postinst; echo 'if [ "$1" = "configure" ]; then' >>DEBIAN/postinst; -echo ' chmod -R 777 /usr/share/manaworld/docs;' >>DEBIAN/postinst; echo ' if [ -d /usr/games ]; then' >>DEBIAN/postinst; echo ' cp /usr/share/manaworld/manaworld /usr/games/manaworld;' >>DEBIAN/postinst; echo ' chmod +x /usr/share/manaworld/manaworld;' >>DEBIAN/postinst; |