Commit 189c4c20 authored by coppro's avatar coppro

Fixed installer.

parent 295e2ed2
...@@ -6,5 +6,5 @@ If, after Magic Set Editor is installed, it complains about being unable to find ...@@ -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.
#!/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;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment