From cf47e60dd854e40502c53f9274295e6d093e931d Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Tue, 14 Nov 2000 21:21:53 +0000 Subject: [PATCH] Really turn off srcs for upgrades. --- release/sysinstall/installUpgrade.c | 1 + usr.sbin/sysinstall/installUpgrade.c | 1 + 2 files changed, 2 insertions(+) diff --git a/release/sysinstall/installUpgrade.c b/release/sysinstall/installUpgrade.c index f82bfb7c0db6..efa8599b1c9b 100644 --- a/release/sysinstall/installUpgrade.c +++ b/release/sysinstall/installUpgrade.c @@ -250,6 +250,7 @@ installUpgrade(dialogMenuItem *self) /* Don't allow sources to be upgraded unless if we have src already */ if (directory_exists("/usr/src/") && (Dists & DIST_SRC)) { Dists &= ~DIST_SRC; + SrcDists = 0; msgConfirm("Warning: /usr/src exists and sources were selected as upgrade\n" "targets. Unfortunately, this is not the way to upgrade your\n" "sources - please use CTM or CVSup or some other method which\n" diff --git a/usr.sbin/sysinstall/installUpgrade.c b/usr.sbin/sysinstall/installUpgrade.c index f82bfb7c0db6..efa8599b1c9b 100644 --- a/usr.sbin/sysinstall/installUpgrade.c +++ b/usr.sbin/sysinstall/installUpgrade.c @@ -250,6 +250,7 @@ installUpgrade(dialogMenuItem *self) /* Don't allow sources to be upgraded unless if we have src already */ if (directory_exists("/usr/src/") && (Dists & DIST_SRC)) { Dists &= ~DIST_SRC; + SrcDists = 0; msgConfirm("Warning: /usr/src exists and sources were selected as upgrade\n" "targets. Unfortunately, this is not the way to upgrade your\n" "sources - please use CTM or CVSup or some other method which\n"