diff --git a/scripts/30-install-packages.sh b/scripts/30-install-packages.sh index 52a1e36..2e5dda0 100644 --- a/scripts/30-install-packages.sh +++ b/scripts/30-install-packages.sh @@ -16,8 +16,8 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then dotfiles_dir="$1" module_script="$dotfiles_dir/packages/install.sh" - if [ ! -x "$module_script" ]; then - log_error "Module script not found or not executable: $module_script" + if [ ! -f "$module_script" ]; then + log_error "Module script not found: $module_script" exit 1 fi bash "$module_script" "$dotfiles_dir"