summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/package.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-10-22 01:33:02 +0000
committerjkh <jkh@FreeBSD.org>1995-10-22 01:33:02 +0000
commit1d0b031279893f7cefaf171f452d26935986b98d (patch)
tree608ef9307125598be4d20cf82f858dee292d462b /release/sysinstall/package.c
parent16a13547361f91857580b9ad524a5e8f41a7768a (diff)
downloadFreeBSD-src-1d0b031279893f7cefaf171f452d26935986b98d.zip
FreeBSD-src-1d0b031279893f7cefaf171f452d26935986b98d.tar.gz
Style police throughout.
Fix the ppp startup code. Make the disklabel and fdisk screens "automatable"
Diffstat (limited to 'release/sysinstall/package.c')
-rw-r--r--release/sysinstall/package.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/sysinstall/package.c b/release/sysinstall/package.c
index f72813a..c2eb285 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.7 1995/10/20 22:36:06 jkh Exp $
+ * $Id: package.c,v 1.8 1995/10/21 20:03:07 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -85,7 +85,7 @@ package_extract(Device *dev, char *name)
tpid = fork();
if (!tpid) {
dup2(fd, 0);
- i = vsystem("tar %s-xzf -", !strcmp(variable_get(CPIO_VERBOSITY_LEVEL), "high") ? "-v " : "");
+ i = vsystem("tar %s-xzf -", !strcmp(variable_get(VAR_CPIO_VERBOSITY), "high") ? "-v " : "");
if (isDebug())
msgDebug("tar command returns %d status\n", i);
exit(i);
@@ -95,7 +95,7 @@ package_extract(Device *dev, char *name)
tpid = waitpid(tpid, &pstat, 0);
if (vsystem("(pwd; cat +CONTENTS) | pkg_add %s-S",
- !strcmp(variable_get(CPIO_VERBOSITY_LEVEL), "high") ? "-v " : ""))
+ !strcmp(variable_get(VAR_CPIO_VERBOSITY), "high") ? "-v " : ""))
msgConfirm("An error occurred while trying to pkg_add %s.\n"
"Please check debugging screen for possible further details.", path);
else
OpenPOWER on IntegriCloud