diff --git a/tools/linux-installer/README b/tools/linux-installer/README index b814ebf8..9f930ba3 100644 --- a/tools/linux-installer/README +++ b/tools/linux-installer/README @@ -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. 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. -If you need to uninstall, removing these directories should completely purge your system. \ No newline at end of file +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. diff --git a/tools/linux-installer/tarball b/tools/linux-installer/tarball index e9ff8fd7..d1e42525 100755 --- a/tools/linux-installer/tarball +++ b/tools/linux-installer/tarball @@ -1,10 +1,13 @@ #!/bin/bash # 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; \ No newline at end of file +rm -rf magicseteditor;