summaryrefslogtreecommitdiff
path: root/testing/systemd/systemd-tools.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-26 00:01:48 +0000
committerroot <root@rshg054.dnsready.net>2012-06-26 00:01:48 +0000
commit9a6b691757346035549dbd12d1323301d04a6675 (patch)
tree5e06d2322b58a73254a0ca2c05d2083cb0209db2 /testing/systemd/systemd-tools.install
parent3b99c42eb8ca744e86e4e17197b1bf10642c6785 (diff)
Tue Jun 26 00:01:48 UTC 2012
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."