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).
This commit is contained in:
parent
d669285a77
commit
505c7e361d
@ -1,11 +1,11 @@
|
||||
/* $NetBSD: perform.c,v 1.46 2003/09/09 06:43:10 jlam Exp $ */
|
||||
/* $NetBSD: perform.c,v 1.47 2003/09/14 04:58:30 jlam Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
#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.46 2003/09/09 06:43:10 jlam Exp $");
|
||||
__RCSID("$NetBSD: perform.c,v 1.47 2003/09/14 04:58:30 jlam Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -311,7 +311,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" : "",
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: version.h,v 1.32 2003/09/13 09:20:26 jlam Exp $ */
|
||||
/* $NetBSD: version.h,v 1.33 2003/09/14 04:58:31 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_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user