1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00

Delete boring legacy /etc/dnsmasq.d/$app.conf if it exists

This commit is contained in:
Alexandre Aubin 2023-10-05 19:08:51 +02:00
parent 3e2bd872ce
commit 8449fc5ac8

View file

@ -70,6 +70,9 @@ if [ -d /var/www/wifiadmin/ ]; then
ynh_secure_remove /var/www/wifiadmin/
fi
if [ -e /etc/dnsmasq.d/$app.conf ]; then
ynh_secure_remove /etc/dnsmasq.d/$app.conf
fi
if [ $firmware_nonfree = "yes" ]; then
firmware_nonfree=1