tidy debug
This commit is contained in:
14
deploy.sh
14
deploy.sh
@@ -6,10 +6,8 @@ nodejs_version="v24.11.0"
|
|||||||
|
|
||||||
current_dir="$(pwd)"
|
current_dir="$(pwd)"
|
||||||
|
|
||||||
# cp ./core-setup/arch-surface.conf /boot/loader/entries/arch-surface.conf
|
cd core-setup
|
||||||
# cp ./core-setup/cpupower /etc/default/cpupower
|
sh setup
|
||||||
|
|
||||||
cd core-setup && sh setup
|
|
||||||
cd $current_dir
|
cd $current_dir
|
||||||
|
|
||||||
# Ensure fish/fisher setup + install plugins
|
# Ensure fish/fisher setup + install plugins
|
||||||
@@ -17,17 +15,11 @@ if fish -c "which fisher" >/dev/null 2>&1; then
|
|||||||
echo "fisher is installed"
|
echo "fisher is installed"
|
||||||
else
|
else
|
||||||
echo "fisher not found. installing."
|
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"
|
fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tree .
|
|
||||||
for dir in $source_dir/*/; do
|
for dir in $source_dir/*/; do
|
||||||
echo ">>>"$dir
|
if [ -d "$dir" ]; then
|
||||||
echo "Raw dir value: '$dir'"
|
|
||||||
ls -ld "$dir"
|
|
||||||
if [ -d "$dir" ]; then # Check if it's a directory
|
|
||||||
echo "asdkgjnsgjsdkgan"
|
|
||||||
dir_name=$(basename "$dir")
|
dir_name=$(basename "$dir")
|
||||||
source=$source_dir"/"$dir_name
|
source=$source_dir"/"$dir_name
|
||||||
target=$target_config_dir"/"$dir_name
|
target=$target_config_dir"/"$dir_name
|
||||||
|
|||||||
Reference in New Issue
Block a user