summaryrefslogtreecommitdiffstats
path: root/rules/rc-once.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'rules/rc-once.postinst')
-rw-r--r--rules/rc-once.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/rc-once.postinst b/rules/rc-once.postinst
index f80a334cb..a7368bde1 100644
--- a/rules/rc-once.postinst
+++ b/rules/rc-once.postinst
@@ -1,6 +1,6 @@
#!/bin/sh
-if [ -f "$DESTDIR/lib/systemd/system/rc-once.target" ]; then
- ln -sf /lib/systemd/system/rc-once.target $DESTDIR/etc/systemd/system/default.target
+if [ -f "$DESTDIR/lib/systemd/system/rc-once.service" ]; then
+ ln -sf etc/rc.once.d $DESTDIR/system-update
fi