This commit is contained in:
parent
b66cde3817
commit
af7d1f4a47
1 changed files with 6 additions and 2 deletions
8
spcd.sh
8
spcd.sh
|
@ -768,7 +768,9 @@ spcd_install_packages() {
|
|||
# shell check
|
||||
spcd_step "Install ShellCheck"
|
||||
case "${SPCD_PM}" in
|
||||
"${SPCD_PM_DNF}") spcd_install_package "ShellCheck" ;;
|
||||
"${SPCD_PM_DNF}" | "${SPCD_PM_ZYPPER}")
|
||||
spcd_install_package "ShellCheck"
|
||||
;;
|
||||
*) spcd_install_package "shellcheck" ;;
|
||||
esac
|
||||
# shfmt
|
||||
|
@ -786,7 +788,9 @@ spcd_install_packages() {
|
|||
"${SPCD_PM_APK}" | "${SPCD_PM_APT}")
|
||||
spcd_install_package "openssh-client"
|
||||
;;
|
||||
"${SPCD_PM_DNF}") spcd_install_package "openssh-clients" ;;
|
||||
"${SPCD_PM_DNF}" | "${SPCD_PM_ZYPPER}")
|
||||
spcd_install_package "openssh-clients"
|
||||
;;
|
||||
"${SPCD_PM_PACMAN}") spcd_install_package "openssh" ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue