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 if ! command_exists openssl; then
case "$PACKAGER" in case "$PACKAGER" in
pacman) pacman)
"$ESCALATION_TOOL" "$PACKAGER" -Syu --noconfirm openssl "$ESCALATION_TOOL" "$PACKAGER" -S --noconfirm openssl
;;
apt-get|nala)
"$ESCALATION_TOOL" "$PACKAGER" install -y openssl
;;
dnf)
"$ESCALATION_TOOL" "$PACKAGER" install -y openssl
;;
zypper)
"$ESCALATION_TOOL" "$PACKAGER" install openssl
;; ;;
*) *)
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}" "$ESCALATION_TOOL" "$PACKAGER" install -y openssl
exit 1
;; ;;
esac esac
fi fi