Fix permissions on perl files

Also fixes stripping perl 5.32 in bubblewrap.

Fixes #263
This commit is contained in:
fosslinux 2023-03-15 16:48:02 +11:00
parent 3696fec3e3
commit b304a8c6f8
1 changed files with 3 additions and 0 deletions

View File

@ -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 {} \;
}