summaryrefslogtreecommitdiff
path: root/libre/systemd/systemd.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/systemd/systemd.install')
-rw-r--r--libre/systemd/systemd.install11
1 files changed, 10 insertions, 1 deletions
diff --git a/libre/systemd/systemd.install b/libre/systemd/systemd.install
index f799c882d..fedc747ea 100644
--- a/libre/systemd/systemd.install
+++ b/libre/systemd/systemd.install
@@ -45,6 +45,14 @@ _232_8_changes() {
fi
}
+_233_75_3_changes() {
+ # upstream installs services to /etc, which we remove
+ # to keep bus activation we re-enable systemd-resolved
+ if systemctl is-enabled -q systemd-resolved.service; then
+ systemctl reenable systemd-resolved.service 2>/dev/null
+ fi
+}
+
post_install() {
systemd-machine-id-setup
@@ -78,11 +86,12 @@ post_upgrade() {
219-4
230-1
232-8
+ 233.75-3
)
for v in "${upgrades[@]}"; do
if [[ $(vercmp "$v" "$2") -eq 1 ]]; then
- "_${v//-/_}_changes"
+ "_${v//[.-]/_}_changes"
fi
done
}