summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c04d259)
raw | patch | inline | side by side (parent: c04d259)
author | jiho-sf <jiho-sf@users.sourceforge.net> | |
Tue, 26 May 2009 00:29:42 +0000 (00:29 +0000) | ||
committer | jiho-sf <jiho-sf@users.sourceforge.net> | |
Tue, 26 May 2009 00:29:42 +0000 (00:29 +0000) |
packaging/macosx/Resources/bin/inkscape | patch | blob | history |
index 273244e9e92da20bc89b9de62ddea64acd9201ab..049cb8d92fb0dfebd0907652cef757217a740979 100755 (executable)
export INKSCAPE_LOCALEDIR="$TOP/locale"
# Set GTK theme (only if there is no .gtkrc-2.0 in the user's home)
-if [[ ! -e $HOME/.gtkrc-2.0 ]]; then
+if [[ ! -e "$HOME/.gtkrc-2.0" ]]; then
# prepare the theme depending on OS X appearance settings
(
cd "$INKSCAPE_SHAREDIR/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/"
# This '#' needs to be escaped in pango.modules for Pango to work properly.
ESCAPEDTOP=`echo $TOP | sed 's/#/\\\\\\\\#/'`
-mkdir -p ${HOME}/.inkscape-etc
-sed 's|${HOME}|'"$HOME|g" "$TOP/etc/pango/pangorc" > ${HOME}/.inkscape-etc/pangorc
+mkdir -p "${HOME}/.inkscape-etc"
+sed 's|${HOME}|'"$HOME|g" "$TOP/etc/pango/pangorc" > "${HOME}/.inkscape-etc/pangorc"
sed 's|${CWD}|'"$ESCAPEDTOP|g" "$TOP/etc/pango/pango.modules" \
- > ${HOME}/.inkscape-etc/pango.modules
-cp -f "$TOP/etc/pango/pangox.aliases" ${HOME}/.inkscape-etc/
+ > "${HOME}/.inkscape-etc/pango.modules"
+cp -f "$TOP/etc/pango/pangox.aliases" "${HOME}/.inkscape-etc/"
sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gtk.immodules" \
- > ${HOME}/.inkscape-etc/gtk.immodules
+ > "${HOME}/.inkscape-etc/gtk.immodules"
sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gdk-pixbuf.loaders" \
- > ${HOME}/.inkscape-etc/gdk-pixbuf.loaders
+ > "${HOME}/.inkscape-etc/gdk-pixbuf.loaders"
exec "$CWD/inkscape-bin" "$@"