From 74a2ee415006c7cb0942f3312ea1bc5cf43efe69 Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 2 Jan 2004 09:19:13 +0000 Subject: s/package_exists/package_installed/g as that's much more descriptive of what the function does. --- usr.sbin/sysinstall/doc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr.sbin/sysinstall/doc.c') diff --git a/usr.sbin/sysinstall/doc.c b/usr.sbin/sysinstall/doc.c index 7293619..5294972 100644 --- a/usr.sbin/sysinstall/doc.c +++ b/usr.sbin/sysinstall/doc.c @@ -4,8 +4,6 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated for what's essentially a complete rewrite. * - * $FreeBSD$ - * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. * @@ -31,8 +29,8 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * + * $FreeBSD$ */ #include "sysinstall.h" @@ -53,7 +51,7 @@ docBrowser(dialogMenuItem *self) } /* First, make sure we have whatever browser we've chosen is here */ - if (!package_exists(browser)) { + if (!package_installed(browser)) { ret = package_add(browser); if (DITEM_STATUS(ret) != DITEM_SUCCESS) { msgConfirm("Unable to install the %s HTML browser package. You may\n" -- cgit v1.1