Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/sysinst #if 0 out cleanup_dist() (the obsol...
details: https://anonhg.NetBSD.org/src/rev/13e4a2e97615
branches: trunk
changeset: 546947:13e4a2e97615
user: lukem <lukem%NetBSD.org@localhost>
date: Fri May 09 12:34:42 2003 +0000
description:
#if 0 out cleanup_dist() (the obsolete file handling function)
since we don't ship the obsolete sets on the install media anymore.
Instead, we'll rely upon postinstall to do this for us.
diffstat:
distrib/utils/sysinst/util.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (49 lines):
diff -r d6e4d445fabe -r 13e4a2e97615 distrib/utils/sysinst/util.c
--- a/distrib/utils/sysinst/util.c Fri May 09 12:32:42 2003 +0000
+++ b/distrib/utils/sysinst/util.c Fri May 09 12:34:42 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: util.c,v 1.89 2003/04/06 16:12:37 jmmv Exp $ */
+/* $NetBSD: util.c,v 1.90 2003/05/09 12:34:42 lukem Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -68,7 +68,9 @@
int extract_file (char *path);
int extract_dist (void);
+#if 0
int cleanup_dist (const char *path);
+#endif
int distribution_sets_exist_p (const char *path);
static int check_for (unsigned int mode, const char *pathname);
@@ -525,10 +527,12 @@
tarstats.nskipped++;
continue;
}
+#if 0
if (cleanup_dist(list->name) == 0) {
msg_display(MSG_cleanup_warn);
process_menu(MENU_ok);
}
+#endif
(void)snprintf(distname, STRSIZE, "%s%s", list->name,
dist_postfix);
(void)snprintf(fname, STRSIZE, "%s/%s", ext_dir,
@@ -558,6 +562,8 @@
}
}
+#if 0 /* { NOMORE */
+
/*
* Do pre-extract cleanup for set 'name':
* open a file named '/var/db/obsolete/<name>', which contain a list of
@@ -737,6 +743,7 @@
process_menu(MENU_ok);
return retval;
}
+#endif /* } NOMORE */
/*
* Get and unpack the distribution.
Home |
Main Index |
Thread Index |
Old Index