mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
(sorry for making this all one commit)
Fiddled with the backbone for scripts some more. VCS are now suppported in sets but configuration/non-svn-systems missing Linux build now uses precompiled headers (build time--) A couple warning fixes too. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1427 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -12,11 +12,13 @@ case $UID in
|
||||
0)
|
||||
INSTALL_DIR='/usr/local/share/magicseteditor/';
|
||||
EXEC_SYMLINK='/usr/local/bin/magicseteditor';
|
||||
FONTS_DIR='/usr/local/share/fonts/';;
|
||||
FONTS_DIR='/usr/local/share/fonts/';
|
||||
CHMOD='chmod +x';;
|
||||
*)
|
||||
INSTALL_DIR='$HOME/.magicseteditor/';
|
||||
EXEC_SYMLINK='$HOME/bin/magicseteditor';
|
||||
FONTS_DIR='$HOME/.fonts/';;
|
||||
FONTS_DIR='$HOME/.fonts/';
|
||||
CHMOD='chmod u+x';;
|
||||
esac
|
||||
|
||||
if [ "$MSE_INSTALL_DIR" != "" ]; then
|
||||
@@ -49,5 +51,6 @@ echo "Installing...";
|
||||
|
||||
mkdir "$INSTALL_DIR";
|
||||
cp -r program/* "$INSTALL_DIR";
|
||||
$CHMOD "$INSTALL_DIR/magicseteditor";
|
||||
cp fonts/* "$FONTS_DIR";
|
||||
ln -s "$INSTALL_DIR/magicseteditor" "$EXEC_SYMLINK"
|
||||
|
||||
Reference in New Issue
Block a user