1
0
Fork 0
gimp/build/linux/appimage/AppRun
Daniel Baumann 554424e00a
Adding upstream version 3.0.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-23 00:14:50 +02:00

20 lines
531 B
Bash

#!/bin/sh
set -e
if [ -z "$APPDIR" ]; then
export APPDIR="$(dirname "$(readlink -f "${0}")")"
echo "Running without type2-runtime. AppDir is $APPDIR"
fi
## Minimum runtime paths. See: #13527 and #13603
export PATH="$APPDIR"/usr/bin/:"$PATH"
unset LD_PRELOAD
unset LD_LIBRARY_PATH
export XDG_DATA_DIRS="$APPDIR"/usr/share/:"$XDG_DATA_DIRS"
## Other needed runtime paths (added by 3_dist-gimp-goappimage.sh)
### FIXME: We need to run on squash-fs dir due to LD linux interpreter. See 3_dist-gimp-goappimage.sh
cd "$APPDIR"