From d5c18a8dda27a230da2aef742a519ca6c2d5dc5a Mon Sep 17 00:00:00 2001 From: Ilia Date: Tue, 7 Jun 2022 00:56:06 +0300 Subject: [PATCH] Fix to use single quotes --- virtualmin-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virtualmin-install.sh b/virtualmin-install.sh index e4ef349..abd3afd 100644 --- a/virtualmin-install.sh +++ b/virtualmin-install.sh @@ -805,7 +805,7 @@ install_virtualmin_release() { # be replaced upon replease package upgrade if [ -x "/usr/bin/rpm" ]; then rpm_release_files="$(rpm -qal virtualmin*release)" - rpm_release_files=$(echo "$rpm_release_files" | tr "\n" " ") + rpm_release_files=$(echo "$rpm_release_files" | tr '\n' ' ') if [ -n "$rpm_release_files" ]; then for rpm_release_file in $rpm_release_files; do rm -f "$rpm_release_file" @@ -819,7 +819,7 @@ install_virtualmin_release() { # Fix login credentials if fixing repos if [ -n "$setup_only" ]; then sed -i "s/SERIALNUMBER:LICENSEKEY@/$LOGIN/" /etc/yum.repos.d/virtualmin.repo - sed -i "s/http:\/\//https:\/\//" /etc/yum.repos.d/virtualmin.repo + sed -i 's/http:\/\//https:\/\//' /etc/yum.repos.d/virtualmin.repo fi ;; debian | ubuntu)