perl: fix order of symlink creation.

Oops. ;)
This commit is contained in:
Leah Neukirchen 2017-01-28 20:45:04 +01:00
parent d14405bd62
commit 80cd9e2f80

View file

@ -1,7 +1,7 @@
# Template build file for 'perl'.
pkgname=perl
version=5.24.1
revision=1
revision=2
_perl_cross_version=1.1.3
build_style=gnu-configure
hostmakedepends="less"
@ -182,8 +182,8 @@ post_install() {
find ${DESTDIR}/usr/share -type f -exec chmod 644 {} \;
find ${DESTDIR}/usr/lib -type f -exec chmod 644 {} \;
# Make a symbolic link from perl${version} to perl.
ln -sf perl${version} ${DESTDIR}/usr/bin/perl
# Make a symbolic link from perl to perl${version}.
ln -sf perl ${DESTDIR}/usr/bin/perl${version}
# Remove all pod files *except* those under
# /usr/share/perl5/core_perl/pod/ (FS#16488)