From b0176d179510044a43e14bf1c1d9744c31de284b Mon Sep 17 00:00:00 2001 From: lif Date: Thu, 6 Nov 2025 21:59:06 +0000 Subject: [PATCH] tidy debug --- deploy.sh | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/deploy.sh b/deploy.sh index 1a1f236..5543ee2 100644 --- a/deploy.sh +++ b/deploy.sh @@ -6,10 +6,8 @@ nodejs_version="v24.11.0" current_dir="$(pwd)" -# cp ./core-setup/arch-surface.conf /boot/loader/entries/arch-surface.conf -# cp ./core-setup/cpupower /etc/default/cpupower - -cd core-setup && sh setup +cd core-setup +sh setup cd $current_dir # Ensure fish/fisher setup + install plugins @@ -17,17 +15,11 @@ if fish -c "which fisher" >/dev/null 2>&1; then echo "fisher is installed" else echo "fisher not found. installing." - # curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher" fi -tree . for dir in $source_dir/*/; do - echo ">>>"$dir - echo "Raw dir value: '$dir'" - ls -ld "$dir" - if [ -d "$dir" ]; then # Check if it's a directory - echo "asdkgjnsgjsdkgan" + if [ -d "$dir" ]; then dir_name=$(basename "$dir") source=$source_dir"/"$dir_name target=$target_config_dir"/"$dir_name