systemd/debian/systemd-container.postinst
Michael Biebl 335cca9443 Install D-Bus policy files in /usr
This requires dbus >= 1.9.18.
Both Debian stretch and Ubuntu 16.04 LTS ship a new enough version so we
shouldn't need a versioned Depends (or versioned Breaks in case of
systemd).

Gbp-Dch: Short
2017-03-03 13:06:48 +01:00

11 lines
195 B
Bash

#!/bin/sh
set -e
# Enable machines.target by default on new installs and upgrades
if dpkg --compare-versions "$2" lt "232-4~"; then
systemctl enable machines.target || true
fi
#DEBHELPER#