Replacing systemctl call with manual symlink, which is error prone wrt/ changes in...
authorDaniel Baumann <daniel@debian.org>
Wed, 3 Apr 2013 15:52:18 +0000 (17:52 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 3 Apr 2013 15:52:18 +0000 (17:52 +0200)
debian/live-config-systemd.links [new file with mode: 0644]
debian/live-config-systemd.postinst [deleted file]

diff --git a/debian/live-config-systemd.links b/debian/live-config-systemd.links
new file mode 100644 (file)
index 0000000..e882e14
--- /dev/null
@@ -0,0 +1 @@
+/lib/systemd/system/live-config.service        /etc/systemd/system/basic.target.wants/live-config.service
diff --git a/debian/live-config-systemd.postinst b/debian/live-config-systemd.postinst
deleted file mode 100644 (file)
index 1ed5df7..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "${1}" in
-       configure)
-               if [ -x /bin/systemctl ]
-               then
-                       systemctl enable --quiet live-config.service
-               fi
-               ;;
-
-       abort-upgrade|abort-remove|abort-deconfigure)
-
-               ;;
-
-       *)
-               echo "postinst called with unknown argument \`${1}'" >&2
-               exit 1
-               ;;
-esac
-
-#DEBHELPER#
-
-exit 0