Compare commits

...

2 Commits

Author SHA1 Message Date
joeac fac4169389 removes CONTAINER_PREFIX from example.env (redundant) 2026-07-03 12:06:34 +01:00
joeac a5f1ea1358 copes with empty var values 2026-07-03 12:05:45 +01:00
2 changed files with 2 additions and 5 deletions
-4
View File
@@ -1,7 +1,3 @@
# A prefix for remote container names
# If you're running on ARM 32-bit CPU architecture, use 'armv7/', otherwise keep blank
CONTAINER_PREFIX=
# The hostname to use for the local SMTP server
LOCAL_SMTP_HOST=smtp
+2 -1
View File
@@ -97,7 +97,8 @@ do
fi
fi
echo "${var_name}=${!var_name}" >> /home/joeac.net/joeac.net/.env
var_value="$(expr "$(env | grep "^${var_name}=")" : "${var_name}=\(.*\)\$")"
echo "${var_name}=${var_value}" >> /home/joeac.net/joeac.net/.env
fi
done </home/joeac.net/joeac.net/example.env