From 147940c98f3d94ee6797522c5f71ddc40328d770 Mon Sep 17 00:00:00 2001 From: Alexande B Date: Mon, 1 Jan 2024 21:33:02 +0100 Subject: [PATCH] Test core18 --- snap/snapcraft.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 86e58d3..322eec8 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: latexml -base: core20 +base: core18 version: '0.8.7' summary: A LaTeX to XML/HTML/MathML Converter description: | @@ -24,8 +24,8 @@ parts: apt install -y libxml2-dev libxslt1-dev libicu-dev zlib1g-dev # Install cpanm packages - cpanm_packages=("XML::LibXSLT@1.96" "LaTeXML@$SNAPCRAFT_PROJECT_VERSION") - for pkg in "${cpanm_packages[@]}"; do + cpanm_packages="XML::LibXSLT@1.96 LaTeXML@$SNAPCRAFT_PROJECT_VERSION" + for pkg in $cpanm_packages; do cpanm --notest "$pkg" done @@ -45,8 +45,6 @@ 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 @@ -55,7 +53,6 @@ parts: stage-packages: - perl - perl-base - - libicu66 - libxml2 - libxslt1.1 - zlib1g