From b44d47774b5ca98c112c43d58da4d0bd7eaaa0d9 Mon Sep 17 00:00:00 2001 From: cogwheel0 <172976095+cogwheel0@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:48:31 +0530 Subject: [PATCH] fix error "flag not found" on tumbleweed --- setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.sh b/setup.sh index bc0f7be..b950945 100755 --- a/setup.sh +++ b/setup.sh @@ -133,6 +133,8 @@ installDepend() { ${SUDO_CMD} ${PACKAGER} -iA nixos.bash nixos.bash-completion nixos.gnutar nixos.neovim nixos.bat nixos.tree nixos.multitail nixos.fastfetch nixos.pkgs.starship elif [ "$PACKAGER" = "dnf" ]; then ${SUDO_CMD} ${PACKAGER} install -y ${DEPENDENCIES} + elif [ "$PACKAGER" = "zypper" ]; then + ${SUDO_CMD} ${PACKAGER} install -n ${DEPENDENCIES} else ${SUDO_CMD} ${PACKAGER} install -yq ${DEPENDENCIES} fi