summarylogtreecommitdiffstats
path: root/systemd.install
diff options
context:
space:
mode:
authorNicolas Iooss2017-07-06 21:26:37 +0200
committerNicolas Iooss2017-07-06 21:26:37 +0200
commit94ba8141a293dc277a34d55e86d82296a76885d3 (patch)
treef489748b43b3c9b9fce31006ddfb5cdcf7c6ea0b /systemd.install
parentafa88ccafd644b161e22a6e866a71cf24b1dcfd5 (diff)
downloadaur-94ba8141a293dc277a34d55e86d82296a76885d3.tar.gz
systemd-selinux 233.75-3 update
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
}