setup, fix a double newline instance.

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