summaryrefslogtreecommitdiff
path: root/libre/notsystemd/systemd.install
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-09-12 18:32:37 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-09-12 22:33:19 -0400
commit73934ba2e660313bde6f191d3de7632a41db6cc5 (patch)
tree9625c1003c63a357647ff7f75bf6b79bb07fa88e /libre/notsystemd/systemd.install
parent9ffca5fbaf194023453084db2907b58f50fe36a0 (diff)
downloadabslibre-73934ba2e660313bde6f191d3de7632a41db6cc5.tar.gz
abslibre-73934ba2e660313bde6f191d3de7632a41db6cc5.tar.bz2
abslibre-73934ba2e660313bde6f191d3de7632a41db6cc5.zip
libre/notsystemd: update to 233.1
Diffstat (limited to 'libre/notsystemd/systemd.install')
-rw-r--r--libre/notsystemd/systemd.install11
1 files changed, 10 insertions, 1 deletions
diff --git a/libre/notsystemd/systemd.install b/libre/notsystemd/systemd.install
index f799c882d..fedc747ea 100644
--- a/libre/notsystemd/systemd.install
+++ b/libre/notsystemd/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
}