From 9f20e3373065054efcee40bc083d26a15ceccbc9 Mon Sep 17 00:00:00 2001 From: iliajie Date: Sun, 16 Oct 2022 15:59:38 +0300 Subject: [PATCH] Fix key import message when installing Perl --- virtualmin-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/virtualmin-install.sh b/virtualmin-install.sh index ddeb338..e2db99a 100644 --- a/virtualmin-install.sh +++ b/virtualmin-install.sh @@ -264,12 +264,12 @@ while true; do echo " Attempting to install Perl .." fi if [ -x /usr/bin/dnf ]; then - dnf -y install perl >>$log + dnf -y install perl >>$log 2>&1 elif [ -x /usr/bin/yum ]; then - yum -y install perl >>$log + yum -y install perl >>$log 2>&1 elif [ -x /usr/bin/apt-get ]; then - apt-get update >>$log - apt-get -q -y install perl >>$log + apt-get update >>$log 2>&1 + apt-get -q -y install perl >>$log 2>&1 fi perl_attempted=1 # Loop. Next loop should either break or exit.