Fix shellcheck complaints

This commit is contained in:
2018-01-21 18:36:11 +00:00
parent d6b197e9b2
commit 3936ac9001
2 changed files with 5 additions and 5 deletions

View File

@@ -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 "$@"