summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-01-14 23:12:05 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-01-14 23:12:05 +0000
commit9dee831c6779be43d9098c3040d9b5f94ecfd43a (patch)
treeea249e287622a2da7eb9a03271c7280f0a8f3798 /packaging
parenttranslate and install inkscape.appdata.xml (diff)
downloadinkscape-9dee831c6779be43d9098c3040d9b5f94ecfd43a.tar.gz
inkscape-9dee831c6779be43d9098c3040d9b5f94ecfd43a.zip
add specific datadir
Diffstat (limited to 'packaging')
-rw-r--r--packaging/appimage/AppRun3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/appimage/AppRun b/packaging/appimage/AppRun
index 6f01f31df..c9e3540f2 100644
--- a/packaging/appimage/AppRun
+++ b/packaging/appimage/AppRun
@@ -63,7 +63,8 @@ if [ -e "$HERE/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2" ] ; then
export GDK_PIXBUF_MODULE_FILE=$(readlink -f "$HERE"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-*/*/loaders.cache ) # Patched to contain no paths
export LIBRARY_PATH=$GDK_PIXBUF_MODULEDIR:$LIBRARY_PATH # Otherwise getting "Unable to load image-loading module"
export GTK_THEME=Adwaita-dark # Or "Adwaita"
+ export INKSCAPE_DATADIR=${XDG_CONFIG_HOME:-~/.config}/inkscape-1.0-alpha
exec "${HERE}/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2" --inhibit-cache --library-path "${LIBRARY_PATH}" "${MAIN}" "$@"
else
exec "${MAIN}" "$@"
-fi \ No newline at end of file
+fi