Skip to content

Commit bf506f0

Browse files
authored
lets predict gimp3
1 parent 987dc20 commit bf506f0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

gimp-appimage.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ cp -rvn /usr/lib/gimp ./shared/lib
6666

6767
# sharun the gimp plugins
6868
echo "Sharunning the gimp plugins..."
69-
mkdir -p ./shared/lib/gimp/2.0/shared/bin
70-
cp ./sharun ./shared/lib/gimp/2.0
71-
( cd ./shared/lib/gimp/2.0
69+
mkdir -p ./shared/lib/gimp/3.0/shared/bin
70+
cp ./sharun ./shared/lib/gimp/3.0
71+
( cd ./shared/lib/gimp/3.0
7272
for plugin in ./plug-ins/*/*; do
7373
if file "$plugin" | grep -i 'elf.*executable'; then
7474
mv "$plugin" ./shared/bin && ln -s ../../sharun "$plugin"
@@ -78,13 +78,13 @@ cp ./sharun ./shared/lib/gimp/2.0
7878
fi
7979
done
8080
)
81-
ln -s ../../../ ./shared/lib/gimp/2.0/shared/lib
81+
ln -s ../../../ ./shared/lib/gimp/3.0/shared/lib
8282

8383
# PREPARE SHARUN
84-
echo 'GIMP2_DATADIR=${SHARUN_DIR}/share/gimp/2.0
85-
GIMP2_SYSCONFDIR=${SHARUN_DIR}/etc/gimp/2.0
86-
GIMP2_LOCALEDIR=${SHARUN_DIR}/share/locale
87-
GIMP2_PLUGINDIR=${SHARUN_DIR}/shared/lib/gimp/2.0' > ./.env
84+
echo 'GIMP3_DATADIR=${SHARUN_DIR}/share/gimp/3.0
85+
GIMP3_SYSCONFDIR=${SHARUN_DIR}/etc/gimp/3.0
86+
GIMP3_LOCALEDIR=${SHARUN_DIR}/share/locale
87+
GIMP3_PLUGINDIR=${SHARUN_DIR}/shared/lib/gimp/3.0' > ./.env
8888

8989
ln ./sharun ./AppRun
9090
./sharun -g

0 commit comments

Comments
 (0)