summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2014-08-20 13:09:30 +0000
committer~suv <suv-sf@users.sourceforge.net>2014-08-20 13:09:30 +0000
commit0ecf87014ce8c02a621460760653a2b8870bcddc (patch)
tree34fb4d08d28c84d9b63b614d7e30783373a3d0ff
parentuse $XDG_CACHE_HOME/inkscape instead of ~/.inkscape-etc for generated rc and ... (diff)
downloadinkscape-0ecf87014ce8c02a621460760653a2b8870bcddc.tar.gz
inkscape-0ecf87014ce8c02a621460760653a2b8870bcddc.zip
cleanup: remove unused variables and outdated comments
(bzr r13506.1.24)
-rwxr-xr-xpackaging/macosx/Resources/bin/inkscape4
-rwxr-xr-xpackaging/macosx/Resources/script3
2 files changed, 0 insertions, 7 deletions
diff --git a/packaging/macosx/Resources/bin/inkscape b/packaging/macosx/Resources/bin/inkscape
index 282752c1a..40e44f49d 100755
--- a/packaging/macosx/Resources/bin/inkscape
+++ b/packaging/macosx/Resources/bin/inkscape
@@ -39,9 +39,6 @@ PYTHON_VERS=`python -V 2>&1 | cut -c 8-10`
export PYTHONPATH="$TOP/python/site-packages/$ARCH/$PYTHON_VERS"
# NB: we are only preprending some stuff to the default python path so if the directory does not exist it should not harm the rest
-# No longer required if path rewriting has been conducted.
-# export DYLD_LIBRARY_PATH="$TOP/lib"
-
export XDG_CACHE_HOME="${HOME}/.cache"
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
@@ -51,7 +48,6 @@ mkdir -p "$XDG_CONFIG_HOME"
mkdir -p "$XDG_DATA_HOME"
INK_CACHE_DIR="${XDG_CACHE_HOME}/inkscape"
-#INK_CACHE_DIR="${HOME}/.inkscape-etc"
mkdir -p "$INK_CACHE_DIR"
export FONTCONFIG_PATH="$TOP/etc/fonts"
diff --git a/packaging/macosx/Resources/script b/packaging/macosx/Resources/script
index b1450bc17..33d5a6c50 100755
--- a/packaging/macosx/Resources/script
+++ b/packaging/macosx/Resources/script
@@ -5,9 +5,6 @@
CWD=`dirname "$0"`
-# System version: 3 for Panther, 4 for Tiger, 5 for Leopard
-export VERSION=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 -d'.'`
-
# Warn the user about time-consuming generation of fontconfig caches.
# TODO: Somehow keep in sync with ScriptExec and bin/inkscape.
# Ideally refer to $XDG_CACHE_HOME/inkscape everywhere, but how?