diff options
author | grant <grant> | 2003-02-11 16:42:06 +0000 |
---|---|---|
committer | grant <grant> | 2003-02-11 16:42:06 +0000 |
commit | 0734778a2447ced8fcbb37cf863978ed31d42188 (patch) | |
tree | 938090af8a6a9a459ed6468cd629ec725df744c5 /pkgtools/pkg_install/files/add | |
parent | 68a3b27137674a38c84214f3ffbbe858e32f39a0 (diff) | |
download | pkgsrc-0734778a2447ced8fcbb37cf863978ed31d42188.tar.gz |
belatedly sync with src:
Allow '%D' to be used when no last_file available. Fixes binary package
installation of gnome-dirs.
crank PKGTOOLS_VERSION to 20030202.
Diffstat (limited to 'pkgtools/pkg_install/files/add')
-rw-r--r-- | pkgtools/pkg_install/files/add/extract.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgtools/pkg_install/files/add/extract.c b/pkgtools/pkg_install/files/add/extract.c index 6df4ee92b11..2f64eb44ff1 100644 --- a/pkgtools/pkg_install/files/add/extract.c +++ b/pkgtools/pkg_install/files/add/extract.c @@ -1,4 +1,4 @@ -/* $NetBSD: extract.c,v 1.2 2003/01/06 04:34:15 jschauma Exp $ */ +/* $NetBSD: extract.c,v 1.3 2003/02/11 16:42:06 grant Exp $ */ #if 0 #include <sys/cdefs.h> @@ -6,7 +6,7 @@ #if 0 static const char *rcsid = "FreeBSD - Id: extract.c,v 1.17 1997/10/08 07:45:35 charnier Exp"; #else -__RCSID("$NetBSD: extract.c,v 1.2 2003/01/06 04:34:15 jschauma Exp $"); +__RCSID("$NetBSD: extract.c,v 1.3 2003/02/11 16:42:06 grant Exp $"); #endif #endif #endif @@ -306,10 +306,6 @@ extract_plist(char *home, package_t *pkg) break; case PLIST_CMD: - if (last_file == NULL && strchr(p->name, '%') != NULL) { - cleanup(0); - errx(2, "no last file specified for '%s' command", p->name); - } format_cmd(cmd, sizeof(cmd), p->name, Directory, last_file); PUSHOUT(Directory); if (Verbose) |