forked from mirrored-repos/manjaro-tools
[util-yaml] update script
This commit is contained in:
parent
0f27b81f10
commit
95b66c254d
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ write_services_conf(){
|
||||||
if [ ! $(grep "services: \[\]" ${check} | wc -l) -eq 0 ]; then
|
if [ ! $(grep "services: \[\]" ${check} | wc -l) -eq 0 ]; then
|
||||||
echo 'services:' >> "$conf"
|
echo 'services:' >> "$conf"
|
||||||
else
|
else
|
||||||
echo 'units:'
|
echo 'units:' >> "$conf"
|
||||||
fi
|
fi
|
||||||
for s in ${enable_systemd[@]}; do
|
for s in ${enable_systemd[@]}; do
|
||||||
if [ ! $(grep "services: \[\]" ${check} | wc -l) -eq 0 ]; then
|
if [ ! $(grep "services: \[\]" ${check} | wc -l) -eq 0 ]; then
|
||||||
|
|
Loading…
Reference in a new issue