app-antivirus/clamav-unofficial-sigs: new revision in /usr/bin.
authorMichael Orlitzky <mjo@gentoo.org>
Wed, 5 Feb 2020 02:12:49 +0000 (21:12 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Wed, 5 Feb 2020 15:48:58 +0000 (10:48 -0500)
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>
app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r5.ebuild [moved from app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r4.ebuild with 99% similarity]
app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.crond
app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.service

similarity index 99%
rename from app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r4.ebuild
rename to app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r5.ebuild
index 5125872c022acc552ca51ea10430395939ef6a48..1660dbdee6cd39027f10718adf57d1c5555cc90c 100644 (file)
@@ -30,7 +30,7 @@ RDEPEND="${DEPEND}
        || ( net-misc/wget net-misc/curl )"
 
 src_install() {
-       dosbin "${PN}.sh"
+       dobin "${PN}.sh"
 
        insinto /etc/logrotate.d
        newins "${FILESDIR}/${PN}.logrotate" "${PN}"
index 49ef1db3034babe5d06fd351be225704a944f5b2..6c35c18e74b0f179e7e768eebf9a07ffce4fa5ec 100644 (file)
@@ -16,4 +16,4 @@
 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
index ed9fa7e9f04de3b60732e42b0750c50d5e5215d1..51727dafc9ff9ec95f5427b58560c8d7d77a655f 100644 (file)
@@ -10,6 +10,6 @@ Description=ClamAV unofficial signature update service
 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