summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/doc.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-01-02 09:19:13 +0000
committerobrien <obrien@FreeBSD.org>2004-01-02 09:19:13 +0000
commit74a2ee415006c7cb0942f3312ea1bc5cf43efe69 (patch)
tree3ee371e6615dd602b9c78899e4abef55b833fed4 /usr.sbin/sysinstall/doc.c
parentade370c0989d9c16d476d22bdddd8eec52c68045 (diff)
downloadFreeBSD-src-74a2ee415006c7cb0942f3312ea1bc5cf43efe69.zip
FreeBSD-src-74a2ee415006c7cb0942f3312ea1bc5cf43efe69.tar.gz
s/package_exists/package_installed/g as that's much more descriptive of
what the function does.
Diffstat (limited to 'usr.sbin/sysinstall/doc.c')
-rw-r--r--usr.sbin/sysinstall/doc.c6
1 files changed, 2 insertions, 4 deletions
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"
OpenPOWER on IntegriCloud