From 67cb6120d55325b481be3d3b90ddb1cc84887f2c Mon Sep 17 00:00:00 2001 From: coppro Date: Fri, 21 Sep 2007 03:30:31 +0000 Subject: [PATCH] Fixed installer. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@724 0fc631ac-6414-0410-93d0-97cfa31319b6 --- tools/linux-installer/README | 4 ++-- tools/linux-installer/tarball | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) 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;