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

the python code to kepp the port 53 is now useless as it's now hardcoded

This commit is contained in:
OniriCorpe 2023-12-27 07:19:00 +01:00
parent d7bfbddc2f
commit f57edf01d5

View file

@ -63,10 +63,6 @@ if \"0.0.0.0\" in conf_file[\"dns\"][\"bind_hosts\"]:
if \"$ipv6_addr\":
conf_file[\"dns\"][\"bind_hosts\"].append(\"$ipv6_addr\")
need_file_update = True
if conf_file[\"dns\"][\"port\"] != 53:
conf_file[\"dns\"][\"port\"] = 53
need_file_update = True
if need_file_update:
with open(\"$install_dir/AdGuardHome.yaml\", 'w') as file: