summaryrefslogtreecommitdiff
path: root/libre/systemd/systemd.install
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-07-07 00:29:21 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-07-07 00:29:29 -0400
commitbeb0e21d1829fa4e7cace72f57237cd3af6bb38f (patch)
tree5623f9bce6cfdff55cf47251d42419be12fa17fb /libre/systemd/systemd.install
parent3f10cca999669200eeb5fc49d8411082fb5278a5 (diff)
downloadabslibre-beb0e21d1829fa4e7cace72f57237cd3af6bb38f.tar.gz
abslibre-beb0e21d1829fa4e7cace72f57237cd3af6bb38f.tar.bz2
abslibre-beb0e21d1829fa4e7cace72f57237cd3af6bb38f.zip
libre/systemd: update to 233
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
}