mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Updates to make Linux work... still lost of issues.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1157 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
In order to use Magic Set Editor, you need to have libraries for wxGTK version 2.8. This can be acquired from the Ubuntu package libwxgtk2.8-0.
|
||||
In order to use Magic Set Editor, you need to have libraries for wxGTK version 2
|
||||
.8. This can be acquired from the Ubuntu package libwxgtk2.8-0.
|
||||
|
||||
To install Magic Set Editor, please extract this tarball if you haven't already, and then run the install script as root.
|
||||
Unfortunately, Magic Set Editor currently requires that it be installed to /usr/local/share/magicseteditor.
|
||||
If, after Magic Set Editor is installed, it complains about being unable to find data in a certain path, then your system
|
||||
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.
|
||||
To install Magic Set Editor, please extract this tarball if you haven't already,
|
||||
and then run the install script as root. Unfortunately, Magic Set Editor
|
||||
currently requires that it be installed to /usr/local/share/magicseteditor. If,
|
||||
after Magic Set Editor is installed, it complains about being unable to find
|
||||
data in a certain path, then your system is slightly different, and should be
|
||||
installed to that directory, minus the "/data". This can be done by setting the
|
||||
MSE_INSTALL_DIR environment variable. 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, 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.
|
||||
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.
|
||||
|
||||
The installation directory of MSE is specified by the MSE_INSTALL_DIR
|
||||
environment variable, and the destination of the executable symlink is set with
|
||||
MSE_EXEC_SYMLINK.
|
||||
@@ -9,15 +9,23 @@
|
||||
# If executed as any other user, it will fail.
|
||||
|
||||
case $UID in
|
||||
0)
|
||||
INSTALL_DIR='/usr/local/share/magicseteditor/';
|
||||
EXEC_SYMLINK='/usr/local/bin/magicseteditor';;
|
||||
*)
|
||||
echo "Unfortunately, our installer system currently does not support installation except as root.
|
||||
This is because the program currently requires a specific data directory.
|
||||
Our apologies." && exit;;
|
||||
0)
|
||||
INSTALL_DIR='/usr/local/share/magicseteditor/';
|
||||
EXEC_SYMLINK='/usr/local/bin/magicseteditor';;
|
||||
*)
|
||||
echo
|
||||
"Unfortunately, our installer system currently does not support installation
|
||||
except as root. This is because the program currently requires a specific data
|
||||
directory. Our apologies." && exit;;
|
||||
esac
|
||||
|
||||
if [ \"$MSE_INSTALL_DIR\" != "" ] then
|
||||
INSTALL_DIR=$MSE_INSTALL_DIR
|
||||
fi
|
||||
if [ \"$MSE_EXEC_SYMLINK\" != "" ] then
|
||||
INSTALL_DIR=$MSE_EXEC_SYMLINK
|
||||
fi
|
||||
|
||||
echo "Magic Set Editor version $VERSION Installer Script.
|
||||
|
||||
Magic Set Editor will be installed to $INSTALL_DIR.
|
||||
@@ -28,10 +36,10 @@ Is this correct [y/N]? ";
|
||||
read -n 1 CONFIRM;
|
||||
|
||||
case $CONFIRM in
|
||||
[yY])
|
||||
:;;
|
||||
*)
|
||||
exit;;
|
||||
[yY])
|
||||
:;;
|
||||
*)
|
||||
exit;;
|
||||
esac;
|
||||
|
||||
echo "Installing...";
|
||||
|
||||
Reference in New Issue
Block a user