fix: update module script check to verify existence only
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user