fix: add debug output for script discovery in setup.sh
This commit is contained in:
3
setup.sh
3
setup.sh
@@ -26,6 +26,7 @@ if [ -d "$DOTFILES_DIR/scripts" ]; then
|
||||
# Look for numbered scripts and run them in order
|
||||
script_count=0
|
||||
for script in "$DOTFILES_DIR"/scripts/[0-9][0-9]-*.sh; do
|
||||
echo "DEBUG: Found script: $script"
|
||||
if [ -f "$script" ]; then
|
||||
script_name=$(basename "$script")
|
||||
log_info "Running $script_name..."
|
||||
@@ -38,6 +39,8 @@ if [ -d "$DOTFILES_DIR/scripts" ]; then
|
||||
fi
|
||||
|
||||
((script_count++))
|
||||
else
|
||||
echo "DEBUG: Not a file: $script"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user