parent
a01423f604
commit
bcc64b6af3
1 changed files with 5 additions and 2 deletions
7
spcd.sh
7
spcd.sh
|
@ -797,7 +797,7 @@ spcd_install_packages() {
|
|||
spcd_install_package "rsync"
|
||||
# shell check
|
||||
spcd_substep "Install ShellCheck"
|
||||
case "${SPCD_PM}" in
|
||||
case "${SPCD_PF}" in
|
||||
"${SPCD_PF_RPM}")
|
||||
spcd_install_package "ShellCheck"
|
||||
;;
|
||||
|
@ -808,7 +808,10 @@ spcd_install_packages() {
|
|||
case "${SPCD_OS_ID}" in
|
||||
"${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") ;;
|
||||
"${SPCD_OS_DEBIAN}")
|
||||
[ "${SPCD_OS_VERSION}" != "bullseye" ] && spcd_install_package "shfmt"
|
||||
case "${SPCD_OS_VERSION}" in
|
||||
"bullseye") ;;
|
||||
*) spcd_install_package "shfmt" ;;
|
||||
esac
|
||||
;;
|
||||
*) spcd_install_package "shfmt" ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue