summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2020-02-04 21:12:49 -0500
committerMichael Orlitzky <mjo@gentoo.org>2020-02-05 10:48:58 -0500
commit0b66eeacb145f1648b2ee824bd548c3694fe5d5f (patch)
tree4116a031f233b2e32aa811f7c2d28e1cb226fd83 /app-antivirus
parentdev-python/ldap3: Remove py2 (diff)
downloadgentoo-0b66eeacb145f1648b2ee824bd548c3694fe5d5f.tar.gz
gentoo-0b66eeacb145f1648b2ee824bd548c3694fe5d5f.tar.bz2
gentoo-0b66eeacb145f1648b2ee824bd548c3694fe5d5f.zip
app-antivirus/clamav-unofficial-sigs: new revision in /usr/bin.
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>
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r5.ebuild (renamed from app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r4.ebuild)2
-rw-r--r--app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.crond2
-rw-r--r--app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.service2
3 files changed, 3 insertions, 3 deletions
diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r4.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r5.ebuild
index 5125872c022a..1660dbdee6cd 100644
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r4.ebuild
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r5.ebuild
@@ -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}"
diff --git a/app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.crond b/app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.crond
index 49ef1db3034b..6c35c18e74b0 100644
--- a/app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.crond
+++ b/app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.crond
@@ -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
diff --git a/app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.service b/app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.service
index ed9fa7e9f04d..51727dafc9ff 100644
--- a/app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.service
+++ b/app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.service
@@ -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