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 89777f9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ parts:
env PERL5LIB=\$(IFS=:; echo "\${perl_snap_inc[*]}") env PATH=\$snap_prefix/usr/local/bin:\$PATH \$@
EOF
chmod +x $perl5lib_sh
find $SNAPCRAFT_PART_INSTALL/usr/local/lib/python3.8 -type d -exec chmod 0755 {} \;
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,10 +58,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:
Expand Down

0 comments on commit 89777f9

Please sign in to comment.