diff -urNp a/plug-ins/pygimp/Makefile.am b/plug-ins/pygimp/Makefile.am
--- a/plug-ins/pygimp/Makefile.am 2023-02-16 09:32:52.216151869 +0100
+++ b/plug-ins/pygimp/Makefile.am 2023-02-16 09:33:33.701760836 +0100
@@ -146,7 +146,7 @@ install-env-file:
install-interp-file:
$(mkinstalldirs) '$(DESTDIR)$(pyinterpdir)'
echo 'python=$(PYBIN_PATH)' > '$(DESTDIR)$(pyinterpfile)'
- echo '/usr/bin/python=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)'
+ echo '/app/bin/python=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)'
echo ':Python:E::py::python:' >> '$(DESTDIR)$(pyinterpfile)'
install-data-local: install-env-file install-interp-file
diff -urNp a/plug-ins/pygimp/Makefile.in b/plug-ins/pygimp/Makefile.in
--- a/plug-ins/pygimp/Makefile.in 2023-02-16 09:32:52.217151884 +0100
+++ b/plug-ins/pygimp/Makefile.in 2023-02-16 09:33:54.030059235 +0100
@@ -1269,7 +1269,7 @@ install-env-file:
install-interp-file:
$(mkinstalldirs) '$(DESTDIR)$(pyinterpdir)'
echo 'python=$(PYBIN_PATH)' > '$(DESTDIR)$(pyinterpfile)'
- echo '/usr/bin/python=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)'
+ echo '/app/bin/python=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)'
echo ':Python:E::py::python:' >> '$(DESTDIR)$(pyinterpfile)'
install-data-local: install-env-file install-interp-file
diff -urNp a/app/composite/make-installer.py b/app/composite/make-installer.py
--- a/app/composite/make-installer.py 2023-02-16 15:07:17.887078015 +0100
+++ b/app/composite/make-installer.py 2023-02-16 15:09:45.416427190 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/app/bin/python2
#
# Gimp image compositing
# Copyright (C) 2003 Helvetix Victorinox, <helvetix@gimp.org>
diff -urNp a/app/composite/ns.py b/app/composite/ns.py
--- a/app/composite/ns.py 2023-02-16 15:07:17.887078015 +0100
+++ b/app/composite/ns.py 2023-02-16 15:09:53.280499108 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/app/bin/python2
# Copyright (C) 2003 Helvetix Victorinox, a pseudonym, <helvetix@gimp.org>
#
# This program is free software: you can redistribute it and/or modify
diff -urNp a/plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py b/plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
--- a/plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py 2023-02-16 15:07:17.719076479 +0100
+++ b/plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py 2023-02-16 15:10:07.901632820 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# Foreground Extraction Benchmark
# Copyright 2005 Sven Neumann <sven@gimp.org>
diff -urNp a/plug-ins/pygimp/plug-ins/clothify.py b/plug-ins/pygimp/plug-ins/clothify.py
--- a/plug-ins/pygimp/plug-ins/clothify.py 2023-02-16 15:07:17.719076479 +0100
+++ b/plug-ins/pygimp/plug-ins/clothify.py 2023-02-16 15:10:24.199781869 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# Gimp-Python - allows the writing of Gimp plugins in Python.
# Copyright (C) 1997 James Henstridge <james@daa.com.au>
diff -urNp a/plug-ins/pygimp/plug-ins/colorxhtml.py b/plug-ins/pygimp/plug-ins/colorxhtml.py
--- a/plug-ins/pygimp/plug-ins/colorxhtml.py 2023-02-16 15:07:17.719076479 +0100
+++ b/plug-ins/pygimp/plug-ins/colorxhtml.py 2023-02-16 15:10:01.506574337 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# Gimp-Python - allows the writing of Gimp plugins in Python.
# Copyright (C) 2003, 2005 Manish Singh <yosh@gimp.org>
diff -urNp a/plug-ins/pygimp/plug-ins/file-openraster.py b/plug-ins/pygimp/plug-ins/file-openraster.py
--- a/plug-ins/pygimp/plug-ins/file-openraster.py 2023-02-16 15:07:17.718076470 +0100
+++ b/plug-ins/pygimp/plug-ins/file-openraster.py 2023-02-16 15:11:23.823327134 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# GIMP Plug-in for the OpenRaster file format
# http://create.freedesktop.org/wiki/OpenRaster
diff -urNp a/plug-ins/pygimp/plug-ins/foggify.py b/plug-ins/pygimp/plug-ins/foggify.py
--- a/plug-ins/pygimp/plug-ins/foggify.py 2023-02-16 15:07:17.719076479 +0100
+++ b/plug-ins/pygimp/plug-ins/foggify.py 2023-02-16 15:11:02.026127796 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# Gimp-Python - allows the writing of Gimp plugins in Python.
# Copyright (C) 1997 James Henstridge <james@daa.com.au>
diff -urNp a/plug-ins/pygimp/plug-ins/gradients-save-as-css.py b/plug-ins/pygimp/plug-ins/gradients-save-as-css.py
--- a/plug-ins/pygimp/plug-ins/gradients-save-as-css.py 2023-02-16 15:07:17.719076479 +0100
+++ b/plug-ins/pygimp/plug-ins/gradients-save-as-css.py 2023-02-16 15:12:09.020740471 +0100
@@ -1,4 +1,4 @@
-#! /usr/bin/env python2
+#!/app/bin/python2
# -*- coding: utf-8 -*-
# Allows saving (TODO: and loading) CSS gradient files
diff -urNp a/plug-ins/pygimp/plug-ins/palette-offset.py b/plug-ins/pygimp/plug-ins/palette-offset.py
--- a/plug-ins/pygimp/plug-ins/palette-offset.py 2023-02-16 15:07:17.718076470 +0100
+++ b/plug-ins/pygimp/plug-ins/palette-offset.py 2023-02-16 15:10:54.237056564 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# -*- coding: utf-8 -*-
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff -urNp a/plug-ins/pygimp/plug-ins/palette-sort.py b/plug-ins/pygimp/plug-ins/palette-sort.py
--- a/plug-ins/pygimp/plug-ins/palette-sort.py 2023-02-16 15:07:17.718076470 +0100
+++ b/plug-ins/pygimp/plug-ins/palette-sort.py 2023-02-16 15:11:14.961246089 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff -urNp a/plug-ins/pygimp/plug-ins/palette-to-gradient.py b/plug-ins/pygimp/plug-ins/palette-to-gradient.py
--- a/plug-ins/pygimp/plug-ins/palette-to-gradient.py 2023-02-16 15:07:17.719076479 +0100
+++ b/plug-ins/pygimp/plug-ins/palette-to-gradient.py 2023-02-16 15:10:18.903733436 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff -urNp a/plug-ins/pygimp/plug-ins/py-slice.py b/plug-ins/pygimp/plug-ins/py-slice.py
--- a/plug-ins/pygimp/plug-ins/py-slice.py 2023-02-16 15:07:17.719076479 +0100
+++ b/plug-ins/pygimp/plug-ins/py-slice.py 2023-02-16 15:10:58.291093639 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# -*- coding: utf-8 -*-
#Copyright (c) Manish Singh
diff -urNp a/plug-ins/pygimp/plug-ins/python-console.py b/plug-ins/pygimp/plug-ins/python-console.py
--- a/plug-ins/pygimp/plug-ins/python-console.py 2023-02-16 15:07:17.719076479 +0100
+++ b/plug-ins/pygimp/plug-ins/python-console.py 2023-02-16 15:10:49.457012850 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# Gimp-Python - allows the writing of Gimp plugins in Python.
# Copyright (C) 1997 James Henstridge <james@daa.com.au>
diff -urNp a/plug-ins/pygimp/plug-ins/python-eval.py b/plug-ins/pygimp/plug-ins/python-eval.py
--- a/plug-ins/pygimp/plug-ins/python-eval.py 2023-02-16 15:07:17.719076479 +0100
+++ b/plug-ins/pygimp/plug-ins/python-eval.py 2023-02-16 15:10:45.199973919 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# Gimp-Python - allows the writing of Gimp plugins in Python.
# Copyright (C) 2006 Manish Singh <yosh@gimp.org>
diff -urNp a/plug-ins/pygimp/plug-ins/shadow_bevel.py b/plug-ins/pygimp/plug-ins/shadow_bevel.py
--- a/plug-ins/pygimp/plug-ins/shadow_bevel.py 2023-02-16 15:07:17.719076479 +0100
+++ b/plug-ins/pygimp/plug-ins/shadow_bevel.py 2023-02-16 15:11:19.537287938 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# Gimp-Python - allows the writing of Gimp plugins in Python.
# Copyright (C) 1997 James Henstridge <james@daa.com.au>
diff -urNp a/plug-ins/pygimp/plug-ins/sphere.py b/plug-ins/pygimp/plug-ins/sphere.py
--- a/plug-ins/pygimp/plug-ins/sphere.py 2023-02-16 15:07:17.718076470 +0100
+++ b/plug-ins/pygimp/plug-ins/sphere.py 2023-02-16 15:11:10.467204990 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# Gimp-Python - allows the writing of Gimp plugins in Python.
# Copyright (C) 1997 James Henstridge <james@daa.com.au>
diff -urNp a/plug-ins/pygimp/plug-ins/text-brush.py b/plug-ins/pygimp/plug-ins/text-brush.py
--- a/plug-ins/pygimp/plug-ins/text-brush.py 2023-02-16 15:07:17.719076479 +0100
+++ b/plug-ins/pygimp/plug-ins/text-brush.py 2023-02-16 15:11:05.898163206 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# coding: utf-8
# Author: João Sebastião de Oliveira Bueno
diff -urNp a/plug-ins/pygimp/plug-ins/whirlpinch.py b/plug-ins/pygimp/plug-ins/whirlpinch.py
--- a/plug-ins/pygimp/plug-ins/whirlpinch.py 2023-02-16 15:07:17.718076470 +0100
+++ b/plug-ins/pygimp/plug-ins/whirlpinch.py 2023-02-16 15:10:14.369691972 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/app/bin/python2
# Gimp-Python - allows the writing of Gimp plugins in Python.
# Copyright (C) 1997 James Henstridge <james@daa.com.au>
diff -urNp a/tools/defcheck.py b/tools/defcheck.py
--- a/tools/defcheck.py 2023-02-16 15:07:17.907078198 +0100
+++ b/tools/defcheck.py 2023-02-16 15:11:38.592462200 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/app/bin/python2
"""
defcheck.py -- Consistency check for the .def files.
diff -urNp a/tools/gimppath2svg.py b/tools/gimppath2svg.py
--- a/tools/gimppath2svg.py 2023-02-16 15:07:17.907078198 +0100
+++ b/tools/gimppath2svg.py 2023-02-16 15:12:14.392789599 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/app/bin/python2
import sys,re