setup, fix a double newline instance.

This commit is contained in:
me
2026-09-29 15:57:21 -07:00
parent 3d1b0791b3
commit f97c2708fa
+6 -1
View File
@@ -154,7 +154,6 @@ fi
#echo "- Added!" #echo "- Added!"
# Create basic layouts if configs do not exist and are requested. # Create basic layouts if configs do not exist and are requested.
if [[ -n "$create_general" if [[ -n "$create_general"
|| -n "$create_workstation" || -n "$create_workstation"
|| -n "$create_server" ]] || -n "$create_server" ]]
@@ -162,6 +161,7 @@ then
sudo mkdir -pv "$config_dir" sudo mkdir -pv "$config_dir"
MARK1="BEGIN" MARK1="BEGIN"
MARK2="END" MARK2="END"
echo "Creating placeholder config files..."
fi fi
if [[ -n "$create_general" && ! -f "$general_config" ]]; then if [[ -n "$create_general" && ! -f "$general_config" ]]; then
function print_general_contents { function print_general_contents {
@@ -208,7 +208,12 @@ if [[ -n "$create_server" && ! -f "$server_config" ]]; then
print_server_contents | sudo tee "$server_config" print_server_contents | sudo tee "$server_config"
ls -lh "$server_config" ls -lh "$server_config"
fi fi
if [[ -n "$create_general"
|| -n "$create_workstation"
|| -n "$create_server" ]]
then
echo " " echo " "
fi
echo "Verifying this is the only run..." echo "Verifying this is the only run..."
ps -ef | grep ansible-playbook | grep -v grep ps -ef | grep ansible-playbook | grep -v grep