Restore permissions on stripped files

This commit is contained in:
fosslinux 2025-07-23 10:41:50 +10:00 committed by Samuel Tyler
parent 1fbc21935f
commit 614482220c
3 changed files with 17 additions and 9 deletions

View file

@ -51,7 +51,4 @@ 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 {} \;
}