summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2008-05-31 20:32:17 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2008-05-31 20:32:17 +0000
commit6f2940f45ce9f890973314e3437f38eb28a2a363 (patch)
treea3eabceea5797afd383f50b2073357545881d3d5 /Makefile
parent9ba8d8d1c22332ab3624b266123080e3a5878f40 (diff)
Makefile: only copy security.db if it exists
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@8950 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c3b9b55639..356406a96e 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ LENNY_ARCHS = alpha amd64 arm hppa i386 ia64 mips mipsel powerpc s390 sparc
all:
rm -f data/security-new.db data/security-new.db.journal
- cp data/security.db data/security-new.db
+ if test -e data/security.db; then cp data/security.db data/security-new.db; fi
$(PYTHON) bin/update-db data/security-new.db
mv data/security-new.db data/security.db

© 2014-2024 Faster IT GmbH | imprint | privacy policy