ShellCheck
This commit is contained in:
parent
dac4a8b65b
commit
01fd83badf
1 changed files with 4 additions and 1 deletions
5
spcd.sh
5
spcd.sh
|
@ -637,7 +637,10 @@ spcd_install_packages() {
|
||||||
spcd_install_package "rsync"
|
spcd_install_package "rsync"
|
||||||
# shellcheck
|
# shellcheck
|
||||||
spcd_step "Install ShellCheck"
|
spcd_step "Install ShellCheck"
|
||||||
spcd_install_package "shellcheck"
|
case "${SPCD_PM}" in
|
||||||
|
"${SPCD_PM_DNF}") spcd_install_package "ShellCheck" ;;
|
||||||
|
*) spcd_install_package "shellcheck" ;;
|
||||||
|
esac
|
||||||
# shfmt
|
# shfmt
|
||||||
spcd_step "Install ShellFormat"
|
spcd_step "Install ShellFormat"
|
||||||
case "${SPCD_OS_ID}" in
|
case "${SPCD_OS_ID}" in
|
||||||
|
|
Loading…
Reference in a new issue