summarylogtreecommitdiffstats
path: root/systemd.install
diff options
context:
space:
mode:
authorYurii Kolesnykov2017-06-21 17:47:16 +0300
committerYurii Kolesnykov2017-08-08 22:55:43 +0300
commitd282a28a0487c0dcb1ee29a8ef39a1c9d21ae33b (patch)
treed6123c90f8b1487b2825140397f57ad25726827b /systemd.install
parent5ca0e078037c7020b0f92bd81acea4bf03d45e1e (diff)
downloadaur-d282a28a0487c0dcb1ee29a8ef39a1c9d21ae33b.tar.gz
meson
Diffstat (limited to 'systemd.install')
-rw-r--r--systemd.install11
1 files changed, 10 insertions, 1 deletions
diff --git a/systemd.install b/systemd.install
index f799c882d53a..fedc747ea6e8 100644
--- a/systemd.install
+++ b/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
}