Skip to content

Commit

Permalink
fix: Add missing nala (#544)
Browse files Browse the repository at this point in the history
* Add missing nala

* Update 5-samba-ssh-setup.sh

---------

Co-authored-by: Chris Titus <[email protected]>
  • Loading branch information
jeevithakannan2 and ChrisTitusTech authored Sep 20, 2024
1 parent ed15610 commit f46d313
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions core/tabs/system-setup/docker-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
;;
Expand Down
4 changes: 2 additions & 2 deletions core/tabs/system-setup/samba-ssh-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
;;
Expand Down
2 changes: 1 addition & 1 deletion core/tabs/utils/encrypt_decrypt_tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f46d313

Please sign in to comment.