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:
JEEVITHA KANNAN K S 2024-09-20 22:14:49 +05:30 committed by GitHub
parent ed15610daa
commit f46d3137b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ choose_installation() {
install_docker() {
printf "%b\n" "${YELLOW}Installing Docker...${RC}"
case "$PACKAGER" in
apt-get | yum)
apt-get|nala|yum)
curl -fsSL https://get.docker.com | sh
;;
zypper)
@ -46,7 +46,7 @@ install_docker() {
install_docker_compose() {
printf "%b\n" "${YELLOW}Installing Docker Compose...${RC}"
case "$PACKAGER" in
apt-get | yum)
apt-get|nala|yum)
"$ESCALATION_TOOL" "$PACKAGER" update
"$ESCALATION_TOOL" "$PACKAGER" install -y docker-compose-plugin
;;

View File

@ -26,11 +26,11 @@ setup_ssh() {
# Detect package manager and install appropriate SSH package
case "$PACKAGER" in
"apt-get")
apt-get|nala)
install_package openssh-server
SSH_SERVICE="ssh"
;;
"pacman")
pacman)
install_package openssh
SSH_SERVICE="sshd"
;;

View File

@ -10,7 +10,7 @@ if ! command_exists openssl; then
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -Syu --noconfirm openssl
;;
apt-get)
apt-get|nala)
"$ESCALATION_TOOL" "$PACKAGER" update && "$ESCALATION_TOOL" "$PACKAGER" install -y openssl
;;
dnf)