Skip to content
Snippets Groups Projects
Commit abc798b2 authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak
Browse files

debian: Add `systemctl daemon-reload` to postinst and postrm

Otherwise, systemd drop-ins aren't registered until a reboot
or manual reload.
parent ad3c365a
No related branches found
No related tags found
1 merge request!311defaults: ucm2: Rework ALSA UCM profiles
Pipeline #79239 passed
......@@ -46,6 +46,9 @@ case "$1" in
if which update-initramfs >/dev/null; then
update-initramfs -u
fi
if [ -d /run/systemd/system ]; then
systemctl daemon-reload
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
......
......@@ -7,6 +7,9 @@ case "$1" in
if which update-initramfs >/dev/null; then
update-initramfs -u
fi
if [ -d /run/systemd/system ]; then
systemctl daemon-reload
fi
;;
esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment