mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Move regenconf after the paching of dnsmasq
This commit is contained in:
parent
7e82b0d6f5
commit
916be55488
1 changed files with 4 additions and 5 deletions
9
debian/postinst
vendored
9
debian/postinst
vendored
|
@ -11,10 +11,7 @@ do_configure() {
|
|||
bash /usr/share/yunohost/hooks/conf_regen/06-slapd init
|
||||
bash /usr/share/yunohost/hooks/conf_regen/15-nginx init
|
||||
else
|
||||
echo "Regenerating configuration, this might take a while..."
|
||||
yunohost service regen-conf --output-as none
|
||||
|
||||
echo "Patch Dnsmasq service"
|
||||
echo "Patching dnsmasq service"
|
||||
DNSMASQ_PATCH=$(cat << 'EOF'
|
||||
index 46abdc4..49556ad 100644 (file)
|
||||
--- a/debian/init
|
||||
|
@ -30,9 +27,11 @@ index 46abdc4..49556ad 100644 (file)
|
|||
start()
|
||||
EOF
|
||||
)
|
||||
|
||||
patch -N /etc/init.d/dnsmasq <<< "$DNSMASQ_PATCH" || true
|
||||
|
||||
echo "Regenerating configuration, this might take a while..."
|
||||
yunohost service regen-conf --output-as none
|
||||
|
||||
echo "Launching migrations.."
|
||||
yunohost tools migrations migrate --auto
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue