diff --git a/core/tabs/utils/encrypt_decrypt_tool.sh b/core/tabs/utils/encrypt_decrypt_tool.sh index 0db4a49b..1ee8c7e5 100644 --- a/core/tabs/utils/encrypt_decrypt_tool.sh +++ b/core/tabs/utils/encrypt_decrypt_tool.sh @@ -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