summaryrefslogtreecommitdiff
path: root/testing/systemd/systemd-tools.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/systemd/systemd-tools.install')
-rw-r--r--testing/systemd/systemd-tools.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/systemd/systemd-tools.install b/testing/systemd/systemd-tools.install
index c1c19d15d..7d0bd8790 100644
--- a/testing/systemd/systemd-tools.install
+++ b/testing/systemd/systemd-tools.install
@@ -1,7 +1,13 @@
# arg 1: the new package version
# arg 2: the old package version
+post_install() {
+ systemd-machine-id-setup
+}
+
post_upgrade() {
+ systemd-machine-id-setup
+
if [ "$(vercmp $2 174)" -lt 0 ]; then
echo " * We now use upstream rules for assigning devices to the 'disk', 'optical',"
echo " 'scanner' and 'video' groups. Beware of any changes."