mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
More workingness, now accepts locally-stored resources!
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1158 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -6,17 +6,15 @@
|
||||
|
||||
# This script installs Magic Set Editor onto your system.
|
||||
# If executed as root (including via sudo), it is installed to /usr/local/share/magicseteditor. (with an executable symlink in /usr/local/bin)
|
||||
# If executed as any other user, it will fail.
|
||||
# If executed as any other user, it will install to ~/.magicseteditor with a symlink in ~/bin.
|
||||
|
||||
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;;
|
||||
INSTALL_DIR=~'/.magicseteditor/';
|
||||
EXEC_SYMLINK=~'/bin/magicseteditor';
|
||||
esac
|
||||
|
||||
if [ \"$MSE_INSTALL_DIR\" != "" ] then
|
||||
|
||||
Reference in New Issue
Block a user