mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
bullseye migration: add fix for stupid dnsmasq not picking new init script
This commit is contained in:
parent
3f0b19d17d
commit
625eb79ca3
1 changed files with 8 additions and 0 deletions
|
@ -305,6 +305,14 @@ class MyMigration(Migration):
|
|||
os.system("LC_ALL=C DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt autoremove --assume-yes")
|
||||
os.system("apt clean --assume-yes")
|
||||
|
||||
#
|
||||
# Stupid hack for stupid dnsmasq not picking up its new init.d script then breaking everything ...
|
||||
# https://forum.yunohost.org/t/20676
|
||||
#
|
||||
if os.path.exists("/etc/init.d/dnsmasq.dpkg-dist"):
|
||||
logger.info("Copying new version for /etc/init.d/dnsmasq ...")
|
||||
os.system("cp /etc/init.d/dnsmasq.dpkg-dist /etc/init.d/dnsmasq")
|
||||
|
||||
#
|
||||
# Yunohost upgrade
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue