From 7cabd74e608fe8ecf9619db84a11ef19631d7d21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Thu, 6 Apr 2023 10:45:14 +0700 Subject: [PATCH] [util-yaml] fix services.conf --- lib/util-yaml.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util-yaml.sh b/lib/util-yaml.sh index 42625ea..9341a58 100644 --- a/lib/util-yaml.sh +++ b/lib/util-yaml.sh @@ -76,13 +76,13 @@ write_services_conf(){ msg2 "Writing %s ..." "${conf##*/}" echo '---' > "$conf" echo '' >> "$conf" - echo 'services:' > "$conf" + echo 'services:' >> "$conf" for s in ${enable_systemd[@]}; do echo " - name: $s" >> "$conf" echo ' mandatory: false' >> "$conf" echo '' >> "$conf" done - echo 'timers:' > "$conf" + echo 'timers:' >> "$conf" for s in ${enable_systemd_timers[@]}; do echo " - name: $s" >> "$conf" echo ' mandatory: false' >> "$conf"