net-analyzer/AS-Stats: Must be done in src_install

Package-Manager: Portage-2.3.99, Repoman-2.3.22
This commit is contained in:
Alarig Le Lay 2020-05-21 19:59:05 +02:00
parent 674a4f4ab6
commit 208bf1d4c8
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
1 changed files with 3 additions and 2 deletions

View File

@ -34,8 +34,6 @@ src_compile() {
rm -rf www
ln -s /usr/share/as-stats-gui www
fi
chmod +x bin/asstatd.pl
chmod +x bin/rrd-extractstats.pl
}
src_install() {
@ -49,5 +47,8 @@ src_install() {
! use as-stats-gui && fowners -R "as-stats" "${MY_HTDOCSDIR}/www"
fperms +x "${MY_HTDOCSDIR}/bin/asstatd.pl
fperms +x "${MY_HTDOCSDIR}/bin/rrd-extractstats.pl
webapp_src_install
}