diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-13 09:38:37 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-13 09:38:37 +0300 |
| commit | 3ace65858ebce3af6b1795a4417095626c037aa7 (patch) | |
| tree | 4654562555270096a68ec2a4b85be284bf774e71 /src/lib/config.validate.source.sh | |
| parent | 4c148998e65107e6bea01325060d728731e08aab (diff) | |
jm0: centralize runtime config defaults
Diffstat (limited to 'src/lib/config.validate.source.sh')
| -rw-r--r-- | src/lib/config.validate.source.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/config.validate.source.sh b/src/lib/config.validate.source.sh index 58a2ee3..7988821 100644 --- a/src/lib/config.validate.source.sh +++ b/src/lib/config.validate.source.sh @@ -107,7 +107,7 @@ validate_template_dir() { validate_template_dir_access || return - if [ "${SPLASH_PAGE:-yes}" = yes ]; then + if [ "$SPLASH_PAGE" = yes ]; then required_templates+=(splash) fi @@ -130,7 +130,7 @@ validate_refresh_splash_config() { validate_yes_no_config_var SPLASH_PAGE || return - if [ "${SPLASH_PAGE:-yes}" != yes ]; then + if [ "$SPLASH_PAGE" != yes ]; then config_error 'SPLASH_PAGE must be yes to refresh the splash page' return 1 fi |
