aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-06 11:50:21 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-06 11:50:21 +0000
commitf1b12bbeb37666b66eb942dfd9b1674e3935d3cb (patch)
tree1afac48c6921e96051c9f5e7f4183d45b1fb4e25
parentddb674e1fedab58d31945899f233e31cef471a4c (diff)
downloadpaludis-f1b12bbeb37666b66eb942dfd9b1674e3935d3cb.tar.gz
paludis-f1b12bbeb37666b66eb942dfd9b1674e3935d3cb.tar.xz
Write unix time rather than 0 to COUNTER in vdb
-rw-r--r--ebuild/builtin_merge.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/ebuild/builtin_merge.bash b/ebuild/builtin_merge.bash
index 09c2c6a..452468e 100644
--- a/ebuild/builtin_merge.bash
+++ b/ebuild/builtin_merge.bash
@@ -1,7 +1,7 @@
#!/bin/bash
# vim: set sw=4 sts=4 et :
-# Copyright (c) 2006 Ciaran McCreesh <ciaranm@ciaranm.org>
+# Copyright (c) 2006, 2007 Ciaran McCreesh <ciaranm@ciaranm.org>
#
# This file is part of the Paludis package manager. Paludis is free software;
# you can redistribute it and/or modify it under the terms of the GNU General
@@ -33,7 +33,7 @@ builtin_merge()
install -d "${dbdir}" || die "couldn't make pkg db directory (\"${dbdir}\")"
install -d "${v}/".cache || die "couldn't make pkg db cache"
- local v VDB_FORMAT="paludis-2" COUNTER="0"
+ local v VDB_FORMAT="paludis-2" COUNTER="$(date +%s )"
for v in CATEGORY CBUILD CHOST COUNTER DEPEND DESCRIPTION EAPI \
FEATURES HOMEPAGE INHERITED IUSE KEYWORDS LICENSE PDEPEND PF \
PROVIDE RDEPEND SLOT SRC_URI USE CONFIG_PROTECT CONFIG_PROTECT_MASK \