From 89777f9ce0b690bde5fdba64a19111dc9df57979 Mon Sep 17 00:00:00 2001 From: Alexande B Date: Mon, 1 Jan 2024 16:39:21 +0100 Subject: [PATCH] use install script to fix permissions for python3.8 directory --- snap/snapcraft.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index fba9304..2688d64 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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 @@ -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: