1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00

fix a dumb fileless grep...

This commit is contained in:
OniriCorpe 2024-05-16 11:22:51 +02:00
parent e7c6a5a960
commit 91d86bf859

View file

@ -30,7 +30,7 @@ ynh_systemd_action --service_name="$app" --action="stop"
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
# to remove some time in the future (DoH PR during testing phase residual) # to remove some time in the future (DoH PR during testing phase residual)
if ! grep -q "port_https: 0"; then if ! grep -q "port_https: 0" "$install_dir/AdGuardHome.yaml"; then
ynh_write_var_in_file --file="$install_dir/AdGuardHome.yaml" --key="port_https" --value="0" ynh_write_var_in_file --file="$install_dir/AdGuardHome.yaml" --key="port_https" --value="0"
fi fi