diff options
-rw-r--r-- | pkgtools/pkg_install/files/info/perform.c | 12 | ||||
-rw-r--r-- | pkgtools/pkg_install/files/lib/version.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/pkgtools/pkg_install/files/info/perform.c b/pkgtools/pkg_install/files/info/perform.c index 731878e78cf..b702ea1978c 100644 --- a/pkgtools/pkg_install/files/info/perform.c +++ b/pkgtools/pkg_install/files/info/perform.c @@ -1,4 +1,4 @@ -/* $NetBSD: perform.c,v 1.44 2008/02/22 21:58:16 joerg Exp $ */ +/* $NetBSD: perform.c,v 1.45 2008/03/09 18:03:46 joerg Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -17,7 +17,7 @@ #if 0 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.23 1997/10/13 15:03:53 jkh Exp"; #else -__RCSID("$NetBSD: perform.c,v 1.44 2008/02/22 21:58:16 joerg Exp $"); +__RCSID("$NetBSD: perform.c,v 1.45 2008/03/09 18:03:46 joerg Exp $"); #endif #endif @@ -278,11 +278,11 @@ read_meta_data_from_pkgdb(const char *pkg) fd = open(fname, O_RDONLY, 0); free(fname); if (fd == -1) { - if (errno == ENOENT) + if (errno == ENOENT && descr->required_file == 0) continue; - err(2, "cannot read meta data file %s", - descr->entry_filename); - } + err(2, "cannot read meta data file %s of package %s", + descr->entry_filename, pkg); + } target = (char **)((char *)meta + descr->entry_offset); if (fstat(fd, &st) == -1) diff --git a/pkgtools/pkg_install/files/lib/version.h b/pkgtools/pkg_install/files/lib/version.h index d97194f8e0e..86b170c1c25 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.94 2008/02/22 21:58:16 joerg Exp $ */ +/* $NetBSD: version.h,v 1.95 2008/03/09 18:03:46 joerg 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 "20080223" +#define PKGTOOLS_VERSION "20080309" #endif /* _INST_LIB_VERSION_H_ */ |