Workaround weird python3 install permission / non-existent file. I don't understand snap

This commit is contained in:
Miguel Jacq 2025-02-09 17:34:50 +11:00
parent d55780648d
commit 9919f32fd0
No known key found for this signature in database
GPG Key ID: 59B3F0C24135C6A9

View File

@ -129,7 +129,7 @@ parts:
override-pull: |
craftctl default
override-build: |
chmod 755 /root/parts/onionshare/install/bin/python3
test -e $CRAFT_PART_INSTALL/bin/python3 && chmod 755 $CRAFT_PART_INSTALL/bin/python3 || true
python3 -m venv $CRAFT_PART_INSTALL
. $CRAFT_PART_INSTALL/bin/activate
pip install poetry==2.0.1