1
0

fix: update module script check to verify existence only

This commit is contained in:
2025-08-04 23:56:11 -05:00
parent 6883f67b74
commit 3187e3e396

View File

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