From 1e7b00dbd816e4e831a40d5b7add18d99d77cfab Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 13 Jul 2017 09:05:36 +0000 Subject: [PATCH] clamav: fix absolute paths in INSTALL/REMOVE --- srcpkgs/clamav/INSTALL | 6 +++--- srcpkgs/clamav/REMOVE | 2 +- srcpkgs/clamav/template | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/clamav/INSTALL b/srcpkgs/clamav/INSTALL index d654b677ca7..ddecc9f4076 100644 --- a/srcpkgs/clamav/INSTALL +++ b/srcpkgs/clamav/INSTALL @@ -4,11 +4,11 @@ post) # Only if not updating if [ "$UPDATE" != "yes" ]; then # Create the database directory - mkdir -p /var/lib/clamav + mkdir -p var/lib/clamav # The clamav user owns it - chown -R clamav:clamav /var/lib/clamav + chown -R clamav:clamav var/lib/clamav # Let group members write to it - chmod g+w /var/lib/clamav + chmod g+w var/lib/clamav fi ;; esac diff --git a/srcpkgs/clamav/REMOVE b/srcpkgs/clamav/REMOVE index 7e6bb0e41a5..8f2f6ada07e 100644 --- a/srcpkgs/clamav/REMOVE +++ b/srcpkgs/clamav/REMOVE @@ -4,7 +4,7 @@ pre) # Only if not updating if [ "$UPDATE" != "yes" ]; then # Remove the clamav database directory and contents - rm -rf /var/lib/clamav + rm -rf var/lib/clamav fi ;; esac diff --git a/srcpkgs/clamav/template b/srcpkgs/clamav/template index e430f8f679e..23a7c3fd0b3 100644 --- a/srcpkgs/clamav/template +++ b/srcpkgs/clamav/template @@ -1,7 +1,7 @@ # Template file for 'clamav' pkgname=clamav version=0.99.2 -revision=5 +revision=6 build_style=gnu-configure # XXX: system llvm is too new (< 3.7 required) # Shipped llvm does not build with gcc6