mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Compare commits
2 Commits
c5ed8b7e93
...
75147b9017
Author | SHA1 | Date | |
---|---|---|---|
|
75147b9017 | ||
|
2efa232c9d |
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user