From a71b9803717c2b0704418bb534f6c29744180c8c Mon Sep 17 00:00:00 2001 From: bryan Date: Sun, 19 Mar 2023 11:13:33 -0400 Subject: [PATCH] Use apt-get for OS detection --- installJRMC | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index 06c8181..fa70e77 100755 --- a/installJRMC +++ b/installJRMC @@ -6,7 +6,6 @@ # This software is released under the Apache License. # https://www.apache.org/licenses/LICENSE-2.0 # -# # TODO (v1.1) # 1. Interactive mode # 2. Additional containerization (createrepo and rpmbuild) @@ -324,7 +323,7 @@ init() { ID="centos" RPM_MGR="yum" COMPAT_SWITCH=1 - elif hash apt &>/dev/null; then + elif hash apt-get &>/dev/null; then ID="ubuntu" elif hash pacman &>/dev/null; then ID="arch"