What do you think?
If someone is reading HACKING, they should be prepared to use dnf
rather than "yum", and should be able to adapt when they're using a
version of Fedora that is so old that "dnf" does not exist.

This patch also updates install --help to insert mention of "dnf"
before that of "yum".
From 11e2e0fc95a9e75f170deec5fa038902826458e6 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Sun, 22 May 2016 11:59:24 -0700
Subject: [PATCH] maint: mention dnf, the yum(1) replacement

* HACKING: Mention dnf rather than yum.
* src/install.c (usage): Mention dnf in addition to yum and apt-get.
---
 HACKING       | 2 +-
 src/install.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HACKING b/HACKING
index c5e28c9..27ccd84 100644
--- a/HACKING
+++ b/HACKING
@@ -4,7 +4,7 @@ Coreutils Contribution Guidelines
 Prerequisites
 =============
 You will need the "git" version control tools.
-On Fedora-based systems, do "yum install git".
+On Fedora-based systems, do "dnf install git".
 On Debian-based ones install the "git-core" package.
 Then run "git --version".  If that says it's older than
 version 1.4.4, then you'd do well to get a newer version.
diff --git a/src/install.c b/src/install.c
index 2ff279c..b1e96bd 100644
--- a/src/install.c
+++ b/src/install.c
@@ -612,7 +612,7 @@ Usage: %s [OPTION]... [-T] SOURCE DEST\n\
 This install program copies files (often just compiled) into destination\n\
 locations you choose.  If you want to download and install a ready-to-use\n\
 package on a GNU/Linux system, you should instead be using a package manager\n\
-like yum(1) or apt-get(1).\n\
+like dnf(1), yum(1) or apt-get(1).\n\
 \n\
 In the first three forms, copy SOURCE to DEST or multiple SOURCE(s) to\n\
 the existing DIRECTORY, while setting permission modes and owner/group.\n\
-- 
2.8.0-rc2

Reply via email to