Compare commits

...

2 Commits

Author SHA1 Message Date
JEEVITHA KANNAN K S
75147b9017
Merge 2efa232c9d into 79eb752552 2024-10-09 06:11:34 +05:30
JEEVITHA KANNAN K S
2efa232c9d
Fix packagers 2024-09-30 14:50:18 +05:30

View File

@ -8,20 +8,10 @@ printf "%b\n" "${YELLOW}Ensuring OpenSSL is installed...${RC}"
if ! command_exists openssl; then
case "$PACKAGER" in
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -Syu --noconfirm openssl
;;
apt-get|nala)
"$ESCALATION_TOOL" "$PACKAGER" install -y openssl
;;
dnf)
"$ESCALATION_TOOL" "$PACKAGER" install -y openssl
;;
zypper)
"$ESCALATION_TOOL" "$PACKAGER" install openssl
"$ESCALATION_TOOL" "$PACKAGER" -S --noconfirm openssl
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}"
exit 1
"$ESCALATION_TOOL" "$PACKAGER" install -y openssl
;;
esac
fi