[Debtags-commits] [svn] r1603 - in debtags/trunk: . debian tools
Enrico Zini
enrico at costa.debian.org
Tue Feb 21 19:01:08 UTC 2006
Author: enrico
Date: Tue Feb 21 19:01:07 2006
New Revision: 1603
Modified:
debtags/trunk/ (props changed)
debtags/trunk/configure.ac
debtags/trunk/debian/changelog
debtags/trunk/debian/debtags.postinst
debtags/trunk/tools/debtags.cc
Log:
r7439 at viaza: enrico | 2006-02-21 20:00:18 +0100
Implemented update --local and used it in postinst
Modified: debtags/trunk/configure.ac
==============================================================================
--- debtags/trunk/configure.ac (original)
+++ debtags/trunk/configure.ac Tue Feb 21 19:01:07 2006
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(debtags, 1.5.3, [enrico at debian.org])
+AC_INIT(debtags, 1.5.4, [enrico at debian.org])
AC_CONFIG_SRCDIR([configure.ac])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([foreign])
Modified: debtags/trunk/debian/changelog
==============================================================================
--- debtags/trunk/debian/changelog (original)
+++ debtags/trunk/debian/changelog Tue Feb 21 19:01:07 2006
@@ -1,3 +1,11 @@
+debtags (1.5.4) unstable; urgency=low
+
+ * Builds with libapt-front 0.3.8
+ * Uses the new on-disk index formats
+ * Implemented update --local and used it in postinst. Closes: #343359.
+
+ -- Enrico Zini <enrico at debian.org> Tue, 21 Feb 2006 19:59:00 +0100
+
debtags (1.5.3) unstable; urgency=low
* Builds with libapt-front 0.3.6
Modified: debtags/trunk/debian/debtags.postinst
==============================================================================
--- debtags/trunk/debian/debtags.postinst (original)
+++ debtags/trunk/debian/debtags.postinst Tue Feb 21 19:01:07 2006
@@ -19,6 +19,6 @@
cat /usr/share/debtags/vocabulary | gzip > "$CACHEDVOC"
fi
-debtags update
+debtags update --local
#DEBHELPER#
Modified: debtags/trunk/tools/debtags.cc
==============================================================================
--- debtags/trunk/tools/debtags.cc (original)
+++ debtags/trunk/tools/debtags.cc Tue Feb 21 19:01:07 2006
@@ -1247,7 +1247,8 @@
opts.add("invert-match", 'v', "invert-match", "invert the sense of matching, to select non-matching lines");
opts.add("quiet", 'q', "quiet", "do not write anything to standard output, but exit with 0 if any match is found");
-
+ opts.add("local", 0, "local", "do not download files when performing an update");
+
opts.add("verbose", 'V', "verbose", "enable verbose output");
opts.add("debug", 0, "debug", "enable debugging output (including verbose output)");
@@ -1607,7 +1608,8 @@
//Debtags::Environment::get().updateDebtagsDatabase(&Stat);
mode_t prev_umask = umask(022);
//debtags::updateDatabase(&Stat);
- debtags::fetchNewData(&Stat);
+ if (!opts.get("local").defined())
+ debtags::fetchNewData(&Stat);
debtagsInit();
umask(prev_umask);
feedback("Done.\n");
More information about the Debtags-commits
mailing list