Skip to content
Snippets Groups Projects
Verified Commit a9f7291e authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

Don't hardcode the Python version

parent 95bfac8e
No related branches found
No related tags found
No related merge requests found
......@@ -28,5 +28,6 @@ package() {
meson install -C build --destdir "$pkgdir"
rm -rv "$pkgdir/usr/lib/python3.11/site-packages/gi/overrides/__pycache__"
local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
rm -rv "$pkgdir/usr/lib/python$python_version/site-packages/gi/overrides/__pycache__"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment