mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
fix: Add missing nala (#544)
* Add missing nala * Update 5-samba-ssh-setup.sh --------- Co-authored-by: Chris Titus <contact@christitus.com>
This commit is contained in:
parent
ed15610daa
commit
f46d3137b7
|
@ -23,7 +23,7 @@ choose_installation() {
|
||||||
install_docker() {
|
install_docker() {
|
||||||
printf "%b\n" "${YELLOW}Installing Docker...${RC}"
|
printf "%b\n" "${YELLOW}Installing Docker...${RC}"
|
||||||
case "$PACKAGER" in
|
case "$PACKAGER" in
|
||||||
apt-get | yum)
|
apt-get|nala|yum)
|
||||||
curl -fsSL https://get.docker.com | sh
|
curl -fsSL https://get.docker.com | sh
|
||||||
;;
|
;;
|
||||||
zypper)
|
zypper)
|
||||||
|
@ -46,7 +46,7 @@ install_docker() {
|
||||||
install_docker_compose() {
|
install_docker_compose() {
|
||||||
printf "%b\n" "${YELLOW}Installing Docker Compose...${RC}"
|
printf "%b\n" "${YELLOW}Installing Docker Compose...${RC}"
|
||||||
case "$PACKAGER" in
|
case "$PACKAGER" in
|
||||||
apt-get | yum)
|
apt-get|nala|yum)
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" update
|
"$ESCALATION_TOOL" "$PACKAGER" update
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" install -y docker-compose-plugin
|
"$ESCALATION_TOOL" "$PACKAGER" install -y docker-compose-plugin
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -26,11 +26,11 @@ setup_ssh() {
|
||||||
|
|
||||||
# Detect package manager and install appropriate SSH package
|
# Detect package manager and install appropriate SSH package
|
||||||
case "$PACKAGER" in
|
case "$PACKAGER" in
|
||||||
"apt-get")
|
apt-get|nala)
|
||||||
install_package openssh-server
|
install_package openssh-server
|
||||||
SSH_SERVICE="ssh"
|
SSH_SERVICE="ssh"
|
||||||
;;
|
;;
|
||||||
"pacman")
|
pacman)
|
||||||
install_package openssh
|
install_package openssh
|
||||||
SSH_SERVICE="sshd"
|
SSH_SERVICE="sshd"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -10,7 +10,7 @@ if ! command_exists openssl; then
|
||||||
pacman)
|
pacman)
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" -Syu --noconfirm openssl
|
"$ESCALATION_TOOL" "$PACKAGER" -Syu --noconfirm openssl
|
||||||
;;
|
;;
|
||||||
apt-get)
|
apt-get|nala)
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" update && "$ESCALATION_TOOL" "$PACKAGER" install -y openssl
|
"$ESCALATION_TOOL" "$PACKAGER" update && "$ESCALATION_TOOL" "$PACKAGER" install -y openssl
|
||||||
;;
|
;;
|
||||||
dnf)
|
dnf)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user