Skip to content

Commit

Permalink
use install script to fix permissions for python3.8 directory
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed Jan 1, 2024
1 parent 681beef commit c7fed29
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ parts:
env PERL5LIB=\$(IFS=:; echo "\${perl_snap_inc[*]}") env PATH=\$snap_prefix/usr/local/bin:\$PATH \$@
EOF
chmod +x $perl5lib_sh
chmod u=rx $SNAPCRAFT_PART_INSTALL/usr/local/lib/python3.8
chmod u=rx $SNAPCRAFT_PART_INSTALL/usr/local/lib/python3.8/dist-packages
organize:
/usr/bin/perl5lib.sh: /usr/bin/perl5lib.sh
/usr/lib/x86_64-linux-gnu/perl: /usr/lib/x86_64-linux-gnu/perl
Expand All @@ -57,11 +59,6 @@ parts:
- libxml2
- libxslt1.1
- zlib1g
override-stage: |
snapcraftctl stage
chmod 0755 ./usr/local/lib/python3.8
chmod 0755 ./usr/local/lib/python3.8/dist-packages
apps:
latexml:
environment:
Expand Down

0 comments on commit c7fed29

Please sign in to comment.