mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 06:46:40 +00:00
Fix shellcheck complaints
This commit is contained in:
@@ -152,13 +152,13 @@ main() {
|
||||
|
||||
install_packages "core" "${core_pkgs[@]}"
|
||||
|
||||
if [[ " $@ " == *" work "* ]]; then
|
||||
if [[ " $* " == *" work "* ]]; then
|
||||
install_packages "work" "${work_pkgs[@]}"
|
||||
fi
|
||||
|
||||
if [[ " $@ " == *" personal "* ]]; then
|
||||
if [[ " $* " == *" personal "* ]]; then
|
||||
install_packages "personal" "${personal_pkgs[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
main $@
|
||||
main "$@"
|
||||
|
||||
@@ -72,9 +72,9 @@ main() {
|
||||
|
||||
install_packages "core" "${core_pkgs[@]}"
|
||||
|
||||
if [[ " $@ " == *" personal "* ]]; then
|
||||
if [[ " $* " == *" personal "* ]]; then
|
||||
install_packages "personal" "${personal_pkgs[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
main $@
|
||||
main "$@"
|
||||
|
||||
Reference in New Issue
Block a user