This script shouldn't be run as root, so this revision moves it out of
/usr/sbin and into /usr/bin. The paths within things in $FILESDIR were
also updated.
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
|| ( net-misc/wget net-misc/curl )"
src_install() {
- dosbin "${PN}.sh"
+ dobin "${PN}.sh"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
HOME=/var/lib/clamav-unofficial-sigs
SHELL=/bin/bash
-01 * * * * clamav /usr/sbin/clamav-unofficial-sigs.sh
+01 * * * * clamav /usr/bin/clamav-unofficial-sigs.sh
Documentation=man:clamav-unofficial-sigs(8)
[Service]
-ExecStart=bash /usr/sbin/clamav-unofficial-sigs.sh
+ExecStart=bash /usr/bin/clamav-unofficial-sigs.sh
User=clamav
WorkingDirectory=/var/lib/clamav-unofficial-sigs