perl: set proper perms to installed files.

This commit is contained in:
Juan RP 2014-09-25 10:15:01 +02:00
parent 1d93eff134
commit 4a04a9827d

View file

@ -223,8 +223,8 @@ do_install() {
make DESTDIR=${DESTDIR} install
fi
# Set proper perms to shared libs.
find ${DESTDIR} -type f -name \*.so -exec chmod 644 {} \;
find ${DESTDIR}/usr/share -type f -exec chmod 644 {} \;
find ${DESTDIR}/usr/lib -type f -exec chmod 644 {} \;
# Make a link from perl${version} to perl.
ln -sf perl${version} ${DESTDIR}/usr/bin/perl