diff --git a/build-scripts/ubuntu-2204/build-plenum.sh b/build-scripts/ubuntu-2204/build-plenum.sh index 8ec1c3dfb..db0120614 100755 --- a/build-scripts/ubuntu-2204/build-plenum.sh +++ b/build-scripts/ubuntu-2204/build-plenum.sh @@ -27,7 +27,7 @@ fpm --input-type "python" \ --verbose \ --python-package-name-prefix "python3"\ --python-bin "/usr/bin/python3" \ - --exclude "usr/local/lib/python3.8/dist-packages/data" \ + --exclude "usr/local/lib/python3.10/dist-packages/data" \ --exclude "usr/local/bin" \ --exclude "*.pyc" \ --exclude "*.pyo" \ diff --git a/build-scripts/ubuntu-2204/postinst b/build-scripts/ubuntu-2204/postinst index 31b514505..bd8a31d2a 100644 --- a/build-scripts/ubuntu-2204/postinst +++ b/build-scripts/ubuntu-2204/postinst @@ -2,7 +2,7 @@ # Automatically added from template: if which py3compile >/dev/null 2>&1; then - py3compile -O -p {package_name} /usr/local/lib/python3.8/dist-packages/ + py3compile -O -p {package_name} /usr/local/lib/python3.10/dist-packages/ fi # End automatically added section