diff options
author | jkh <jkh@FreeBSD.org> | 1995-10-20 22:36:06 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-10-20 22:36:06 +0000 |
commit | e22d8066c4c8851a3d1ce3cc8c5e5393cc6d148b (patch) | |
tree | c800e92314d5cb5ba49424a761f8ec0b1a3a4f4c | |
parent | ad266c215da37e41a7f70350ccc33f7593590bd4 (diff) | |
download | FreeBSD-src-e22d8066c4c8851a3d1ce3cc8c5e5393cc6d148b.zip FreeBSD-src-e22d8066c4c8851a3d1ce3cc8c5e5393cc6d148b.tar.gz |
Change the pkg_info check back - it was correct before!
-rw-r--r-- | release/sysinstall/package.c | 4 | ||||
-rw-r--r-- | usr.sbin/sysinstall/package.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/release/sysinstall/package.c b/release/sysinstall/package.c index c398c9d..9c31004 100644 --- a/release/sysinstall/package.c +++ b/release/sysinstall/package.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: package.c,v 1.4 1995/10/19 15:55:27 jkh Exp $ + * $Id: package.c,v 1.6 1995/10/20 21:57:23 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -62,7 +62,7 @@ package_extract(Device *dev, char *name) int i, fd, ret; /* Check to make sure it's not already there */ - if (vsystem("pkg_info -e %s", name)) + if (!vsystem("pkg_info -e %s", name)) return RET_SUCCESS; if (!dev->init(dev)) { diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c index c398c9d..9c31004 100644 --- a/usr.sbin/sysinstall/package.c +++ b/usr.sbin/sysinstall/package.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: package.c,v 1.4 1995/10/19 15:55:27 jkh Exp $ + * $Id: package.c,v 1.6 1995/10/20 21:57:23 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -62,7 +62,7 @@ package_extract(Device *dev, char *name) int i, fd, ret; /* Check to make sure it's not already there */ - if (vsystem("pkg_info -e %s", name)) + if (!vsystem("pkg_info -e %s", name)) return RET_SUCCESS; if (!dev->init(dev)) { |