diff options
author | wiz <wiz@pkgsrc.org> | 2020-12-05 16:17:41 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2020-12-05 16:17:41 +0000 |
commit | 457d1ecba87f760cee17b14df6aaf3be07be8b6d (patch) | |
tree | 2637a1aca2089a1dc1ec619820d5239151feb3b2 /pkgtools | |
parent | 03a92ec7dcabd186d4a1c3c5a7f9d51add888ee4 (diff) | |
download | pkgsrc-457d1ecba87f760cee17b14df6aaf3be07be8b6d.tar.gz |
pkg_install: update to 20201205
Improve warning about old database to mention moving the refcount db too.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/lib/pkgdb.c | 9 | ||||
-rw-r--r-- | pkgtools/pkg_install/files/lib/version.h | 4 |
2 files changed, 7 insertions, 6 deletions
diff --git a/pkgtools/pkg_install/files/lib/pkgdb.c b/pkgtools/pkg_install/files/lib/pkgdb.c index f024b65f884..52e3fa93acf 100644 --- a/pkgtools/pkg_install/files/lib/pkgdb.c +++ b/pkgtools/pkg_install/files/lib/pkgdb.c @@ -1,4 +1,4 @@ -/* $NetBSD: pkgdb.c,v 1.40 2020/12/02 10:22:39 wiz Exp $ */ +/* $NetBSD: pkgdb.c,v 1.41 2020/12/05 16:17:41 wiz Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -7,7 +7,7 @@ #if HAVE_SYS_CDEFS_H #include <sys/cdefs.h> #endif -__RCSID("$NetBSD: pkgdb.c,v 1.40 2020/12/02 10:22:39 wiz Exp $"); +__RCSID("$NetBSD: pkgdb.c,v 1.41 2020/12/05 16:17:41 wiz Exp $"); /*- * Copyright (c) 1999-2010 The NetBSD Foundation, Inc. @@ -310,8 +310,9 @@ pkgdb_get_dir(void) stat("/var/db/pkg", &sb) == 0) { errx(EXIT_FAILURE, "The default PKG_DBDIR has changed, but this installation still uses the old one.\n" - "Please move the database and re-run this command:\n" - "\tmv /var/db/pkg " DEF_LOG_DIR); + "Please move the databases and re-run this command:\n" + "\tmv /var/db/pkg " DEF_LOG_DIR "\n" + "\tmv /var/db/pkg.refcount " DEF_LOG_DIR ".refcount"); } return pkgdb_dir; diff --git a/pkgtools/pkg_install/files/lib/version.h b/pkgtools/pkg_install/files/lib/version.h index 66c9b6e2f13..ff01272a8f3 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.180 2020/12/02 10:22:39 wiz Exp $ */ +/* $NetBSD: version.h,v 1.181 2020/12/05 16:17:41 wiz Exp $ */ /* * Copyright (c) 2001 Thomas Klausner. All rights reserved. @@ -27,6 +27,6 @@ #ifndef _INST_LIB_VERSION_H_ #define _INST_LIB_VERSION_H_ -#define PKGTOOLS_VERSION 20200828 +#define PKGTOOLS_VERSION 20201205 #endif /* _INST_LIB_VERSION_H_ */ |