summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/package.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/package.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/package.c')
-rw-r--r--usr.sbin/sysinstall/package.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c
index a160eb1..a207399 100644
--- a/usr.sbin/sysinstall/package.c
+++ b/usr.sbin/sysinstall/package.c
@@ -4,8 +4,6 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $FreeBSD$
- *
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
*
@@ -32,6 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
+ * $FreeBSD$
*/
#include "sysinstall.h"
@@ -93,7 +92,7 @@ packageAdd(dialogMenuItem *self)
}
Boolean
-package_exists(char *name)
+package_installed(char *name)
{
char fname[FILENAME_MAX];
int status /* = vsystem("pkg_info -e %s", name) */;
OpenPOWER on IntegriCloud