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"