Subject: [bug#40601] [PATCH 3/5] guix-install.sh: Fix requirements.

From: Vincent Legoll <[email-masked]>
Date: Sun, 20 Dec 2020 18:28:37 +0100

There's no usage of "tr" in the script, whereas tar is used.

* etc/guix-install.sh (REQUIRE): Change tr to tar, add ln, remove
readlink & dirname.
---
 etc/guix-install.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 0102901010..d40d90b377 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -35,8 +35,6 @@ set -e
 [ "$(id -u)" -eq 0 ] || { echo "This script must be run as root."; exit 1; }
 
 REQUIRE=(
-    "dirname"
-    "readlink"
     "wget"
     "gpg"
     "grep"
@@ -44,13 +42,14 @@ REQUIRE=(
     "sed"
     "sort"
     "getent"
+    "ln"
     "mktemp"
     "rm"
     "chmod"
     "uname"
     "groupadd"
     "tail"
-    "tr"
+    "tar"
     "xz"
 )
 
-- 
2.29.2