Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst For "unknown" sets (should only happen for ...
details: https://anonhg.NetBSD.org/src/rev/dac2c4bc6bd2
branches: trunk
changeset: 445608:dac2c4bc6bd2
user: martin <martin%NetBSD.org@localhost>
date: Mon Nov 05 17:04:03 2018 +0000
description:
For "unknown" sets (should only happen for pkgsrc.tgz), always use
.tgz suffix.
diffstat:
usr.sbin/sysinst/util.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 9a1fa42928cd -r dac2c4bc6bd2 usr.sbin/sysinst/util.c
--- a/usr.sbin/sysinst/util.c Mon Nov 05 11:50:15 2018 +0000
+++ b/usr.sbin/sysinst/util.c Mon Nov 05 17:04:03 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: util.c,v 1.12 2018/10/06 18:45:37 martin Exp $ */
+/* $NetBSD: util.c,v 1.13 2018/11/05 17:04:03 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -1757,11 +1757,12 @@
return dist->force_tgz;
}
- return false;
+ return true;
}
/* Return the postfix used for a given set */
-const char *set_postfix(const char *set_name)
+const char *
+set_postfix(const char *set_name)
{
return use_tgz_for_set(set_name) ? dist_tgz_postfix : dist_postfix;
}
Home |
Main Index |
Thread Index |
Old Index