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:
parent
e7c6a5a960
commit
91d86bf859
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue