summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/dist.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-09-07 16:05:52 +0000
committerjkh <jkh@FreeBSD.org>2000-09-07 16:05:52 +0000
commit48a226d4c835b83eafbfa399f61d7c6f2163a291 (patch)
tree545dd0d4361c901d3df747989f3c807a11cd9ca1 /usr.sbin/sysinstall/dist.c
parent5240cf8e358ee03ca9844377bddf6386d80e8f5d (diff)
downloadFreeBSD-src-48a226d4c835b83eafbfa399f61d7c6f2163a291.zip
FreeBSD-src-48a226d4c835b83eafbfa399f61d7c6f2163a291.tar.gz
MFS: sync with -stable by removing the now-vestigal X_AS_PKG stuff.
Diffstat (limited to 'usr.sbin/sysinstall/dist.c')
-rw-r--r--usr.sbin/sysinstall/dist.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index 0f9f9cf..7920dd8 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -277,9 +277,7 @@ distSetX(void)
XF86Dists = DIST_XF86_BIN | DIST_XF86_SET | DIST_XF86_CFG | DIST_XF86_LIB | DIST_XF86_PROG | DIST_XF86_MAN | DIST_XF86_SERVER | DIST_XF86_FONTS;
XF86ServerDists = DIST_XF86_SERVER_SVGA | DIST_XF86_SERVER_VGA16;
XF86FontDists = DIST_XF86_FONTS_MISC;
-#ifndef X_AS_PKG
return distSetXF86(NULL);
-#endif
return DITEM_SUCCESS;
}
@@ -887,9 +885,6 @@ distExtractAll(dialogMenuItem *self)
int old_dists, retries = 0, status = DITEM_SUCCESS;
char buf[512];
WINDOW *w;
-#ifdef X_AS_PKG
- int want_x_package = 0;
-#endif
/* paranoia */
if (!Dists) {
@@ -907,23 +902,10 @@ distExtractAll(dialogMenuItem *self)
w = savescr();
msgNotify("Attempting to install all selected distributions..");
-#ifdef X_AS_PKG
- /* Clear any XFree86 dist flags, but remember they were present. */
- if(Dists & DIST_XF86)
- want_x_package = 1;
- Dists &= ~DIST_XF86;
- /*Dists &= ~(DIST_XF86 | XF86Dists | XF86ServerDists | XF86FontDists);*/
-#endif
-
/* Try for 3 times around the loop, then give up. */
while (Dists && ++retries < 3)
distExtract(NULL, DistTable);
-#ifdef X_AS_PKG
- if (want_x_package)
- status |= installX11package(NULL);
-#endif
-
dialog_clear_norefresh();
/* Only do bin fixup if bin dist was successfully extracted */
if ((old_dists & DIST_BIN) && !(Dists & DIST_BIN))
OpenPOWER on IntegriCloud