Fixed installer.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@724 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2007-09-21 03:30:31 +00:00
parent 838f433731
commit 67cb6120d5
2 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -6,5 +6,5 @@ If, after Magic Set Editor is installed, it complains about being unable to find
is slightly different, and should be installed to that directory, minus the "/data". This can be done by modifying the install script. is slightly different, and should be installed to that directory, minus the "/data". This can be done by modifying the install script.
After the install script is run and loading is confirmed, you may delete all the contents of this tarball if you wish. After the install script is run and loading is confirmed, you may delete all the contents of this tarball if you wish.
Magic Set Editor stores data only in the primary installation directory and in ~/.magicseteditor. Magic Set Editor stores data only in the primary installation directory, a symlink to the executable at /usr/local/bin, and in ~/.magicseteditor.
If you need to uninstall, removing these directories should completely purge your system. If you need to uninstall, removing these directories should completely purge your system.
+7 -4
View File
@@ -1,10 +1,13 @@
#!/bin/bash #!/bin/bash
# Magic Set Editor installer tarball generator. # Magic Set Editor installer tarball generator.
mkdir program mkdir magicseteditor
mkdir magicseteditor/program
cp -rP ../../data ../../src/resource ../../magicseteditor program; cp -rP ../../data /usr/local/share/magicseteditor/resource
../../magicseteditor magicseteditor/program;
cp install README magicseteditor;
tar -cf magicseteditor.tar.gz --owner root --exclude=.* --exclude=*~ --exclude=.svn program install README; tar -cf magicseteditor.tar.gz --owner root --exclude=.* --exclude=*~ --exclude=.svn magicseteditor;
rm -rf program; rm -rf magicseteditor;