diff options
author | jlam <jlam> | 2003-09-14 04:58:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-09-14 04:58:30 +0000 |
commit | 4decc1f6f418bcfb1e2e7438f93b8a749f4f9c96 (patch) | |
tree | f1e9f9b333ad8d49fd1a028cb5bbcf8c1c85b70e | |
parent | 6ffb74e9a6f9fd82ae0b94b8648bdc92aa939cee (diff) | |
download | pkgsrc-4decc1f6f418bcfb1e2e7438f93b8a749f4f9c96.tar.gz |
Update pkg_install to 20030914. Changes from version 20030913 are
ensuring that recursive pkg_delete'ing works by using the correct
pkg_dbdir to find packages. This fixes recursive deleting if the
-K flag is passed to pkg_delete(1), and the named dbdir differs from
the default dbdir (/var/db/pkg).
-rw-r--r-- | doc/CHANGES | 3 | ||||
-rw-r--r-- | pkgtools/pkg_install/files/delete/perform.c | 7 | ||||
-rw-r--r-- | pkgtools/pkg_install/files/lib/version.h | 4 |
3 files changed, 8 insertions, 6 deletions
diff --git a/doc/CHANGES b/doc/CHANGES index 9cf178eb92b..406698adf1b 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,4 +1,4 @@ -$NetBSD: CHANGES,v 1.3364 2003/09/13 23:03:19 jlam Exp $ +$NetBSD: CHANGES,v 1.3365 2003/09/14 04:58:30 jlam Exp $ Changes to the packages collection and infrastructure in 2003: @@ -3678,3 +3678,4 @@ Changes to the packages collection and infrastructure in 2003: Updated gtkhtml to 1.1.10 [tron 2003-09-13] Updated fetchmailconf to 6.2.4nb1 [tron 2003-09-13] Updated cyrus-imap21 to 2.1.15 [jlam 2003-09-13] + Updated pkg_install to 20030914 [jlam 2003-09-14] diff --git a/pkgtools/pkg_install/files/delete/perform.c b/pkgtools/pkg_install/files/delete/perform.c index 59d74fcb5e9..aa1b1c1cca3 100644 --- a/pkgtools/pkg_install/files/delete/perform.c +++ b/pkgtools/pkg_install/files/delete/perform.c @@ -1,4 +1,4 @@ -/* $NetBSD: perform.c,v 1.6 2003/09/09 13:34:19 jlam Exp $ */ +/* $NetBSD: perform.c,v 1.7 2003/09/14 04:58:32 jlam Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -11,7 +11,7 @@ #if 0 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.15 1997/10/13 15:03:52 jkh Exp"; #else -__RCSID("$NetBSD: perform.c,v 1.6 2003/09/09 13:34:19 jlam Exp $"); +__RCSID("$NetBSD: perform.c,v 1.7 2003/09/14 04:58:32 jlam Exp $"); #endif #endif @@ -321,7 +321,8 @@ require_delete(char *home, int tryall) if (Fake) rv = 0; else - rv = vsystem("%s %s %s %s %s %s %s %s %s", ProgramPath, + rv = vsystem("%s -K %s %s %s %s %s %s %s %s %s", ProgramPath, + _pkgdb_getPKGDB_DIR(), Prefix ? "-p" : "", Prefix ? Prefix : "", Verbose ? "-v" : "", diff --git a/pkgtools/pkg_install/files/lib/version.h b/pkgtools/pkg_install/files/lib/version.h index c15af2bf3bd..00b72eaba4f 100644 --- a/pkgtools/pkg_install/files/lib/version.h +++ b/pkgtools/pkg_install/files/lib/version.h @@ -1,4 +1,4 @@ -/* $NetBSD: version.h,v 1.14 2003/09/13 09:24:22 jlam Exp $ */ +/* $NetBSD: version.h,v 1.15 2003/09/14 04:58:32 jlam Exp $ */ /* * Copyright (c) 2001 Thomas Klausner. All rights reserved. @@ -33,6 +33,6 @@ #ifndef _INST_LIB_VERSION_H_ #define _INST_LIB_VERSION_H_ -#define PKGTOOLS_VERSION "20030913" +#define PKGTOOLS_VERSION "20030914" #endif /* _INST_LIB_VERSION_H_ */ |