mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
Fixed GTK GetTextExtent bug
Added resources shell script git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@401 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#! /bin/bash
|
||||
|
||||
rm -r /usr/local/share/magicseteditor/resource
|
||||
|
||||
for DIR in /usr/local/share/magicseteditor /usr/local/share/magicseteditor/resource /usr/local/share/magicseteditor/resource/icon /usr/local/share/magicseteditor/resource/tool /usr/local/share/magicseteditor/resource/cursor
|
||||
do
|
||||
if [ -d $DIR ]; then
|
||||
: ;
|
||||
elif [ -a $DIR ]; then
|
||||
echo $DIR "exists and is not a directory!";
|
||||
exit 1 ;
|
||||
else
|
||||
mkdir $DIR;
|
||||
fi
|
||||
done
|
||||
|
||||
cp src/resource/common/* /usr/local/share/magicseteditor/resource;
|
||||
cp src/resource/msw/tool/* /usr/local/share/magicseteditor/resource/tool;
|
||||
cp src/resource/msw/icon/* /usr/local/share/magicseteditor/resource/icon;
|
||||
cp src/resource/msw/cursor/* /usr/local/share/magicseteditor/resource/cursor;
|
||||
cp src/resource/msw/other/* /usr/local/share/magicseteditor/resource;
|
||||
Reference in New Issue
Block a user