blob: 4bf16e87e066b5e4433129903754a0d96b247ae2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-af,v 1.1 2004/08/01 04:35:33 jlam Exp $
--- database/Makefile.in.orig Thu Jul 29 17:50:06 2004
+++ database/Makefile.in
@@ -344,17 +344,6 @@ install:
@test -f $(DESTDIR)$(DBINST)/mirrors.txt && rm -f $(DESTDIR)$(DBINST)/mirrors.txt || true
@test -f $(DESTDIR)$(DBINST)/viruses.db && rm -f $(DESTDIR)$(DBINST)/viruses.db || true
@test -f $(DESTDIR)$(DBINST)/viruses.db2 && rm -f $(DESTDIR)$(DBINST)/viruses.db2 || true
- @if test `id|sed -e 's/^.[^(]*(\([^)]*\)).*/\1/'` = "root" && test -n "${CLAMAVUSER}" && test -n "${CLAMAVGROUP}"; then \
- chmod 775 $(DESTDIR)$(DBINST); \
- chown ${CLAMAVUSER} $(DESTDIR)$(DBINST); \
- chgrp ${CLAMAVGROUP} $(DESTDIR)$(DBINST); \
- chmod 664 $(DESTDIR)$(DBINST)/main.cvd; \
- chown ${CLAMAVUSER} $(DESTDIR)$(DBINST)/main.cvd; \
- chgrp ${CLAMAVGROUP} $(DESTDIR)$(DBINST)/main.cvd; \
- chmod 664 $(DESTDIR)$(DBINST)/daily.cvd; \
- chown ${CLAMAVUSER} $(DESTDIR)$(DBINST)/daily.cvd; \
- chgrp ${CLAMAVGROUP} $(DESTDIR)$(DBINST)/daily.cvd; \
- fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
|