Skip to content

Commit

Permalink
Fix key import message when installing Perl
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Oct 16, 2022
1 parent 718ffea commit 9f20e33
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions virtualmin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9f20e33

Please sign in to comment.