summaryrefslogtreecommitdiffstats
path: root/debian/systemd-container.postinst
blob: a65319bf1b0d01685453b2465907eaa31009420d (plain)
1
2
3
4
5
6
7
8
9
10
#!/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#