vsftpd: fix double usage of $DESTDIR

This commit is contained in:
Enno Boland 2016-01-15 13:33:34 +01:00
parent d1182d9ee6
commit 0168cfc4d4

View file

@ -1,7 +1,7 @@
# Template file for 'vsftpd'
pkgname=vsftpd
version=3.0.3
revision=2
revision=3
build_style=gnu-makefile
makedepends="pam-devel libcap-devel libressl-devel"
short_desc="FTP deamon with focus on security"
@ -31,12 +31,12 @@ do_install() {
vman $pkgname.8
vman $pkgname.conf.5
vinstall EXAMPLE/INTERNET_SITE/$pkgname.xinetd 644 $pkgdir/etc/xinetd.d/$pkgname
vinstall RedHat/$pkgname.log 644 $DESTDIR/etc/logrotate.d/$pkgname
vinstall RedHat/$pkgname.log 644 etc/logrotate.d/$pkgname
vsv vsftpd
vsv vsftpd-ipv6
for i in BENCHMARKS BUGS Changelog FAQ INSTALL README README.ssl REFS \
REWARD SPEED TODO TUNING; do
vinstall $i 644 "$DESTDIR"/usr/share/doc/$pkgname/$i
vinstall $i 644 usr/share/doc/$pkgname/$i
done
}