From b304a8c6f8c86b7b06d7fdcab9f50ec28649e643 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Wed, 15 Mar 2023 16:48:02 +1100 Subject: [PATCH] Fix permissions on perl files Also fixes stripping perl 5.32 in bubblewrap. Fixes #263 --- sysc/perl-5.32.1/perl-5.32.1.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysc/perl-5.32.1/perl-5.32.1.sh b/sysc/perl-5.32.1/perl-5.32.1.sh index e10a69f..ba8bdb2 100755 --- a/sysc/perl-5.32.1/perl-5.32.1.sh +++ b/sysc/perl-5.32.1/perl-5.32.1.sh @@ -54,4 +54,7 @@ src_install() { # Improve reproducibility. hostcat might be empty or set to "cat /etc/hosts" # depending on whether /etc/hosts was available during the build. sed -i "s_^hostcat='.*'\$_hostcat=''_g" "${DESTDIR}${PREFIX}/lib/perl5/5.32.1/i386-linux/Config_heavy.pl" + + # There are strange permissions on installed files. + find "${DESTDIR}${PREFIX}/lib" -type f -exec chmod 644 {} \; }