build-sys: fix ntp-units.d path creation

Spotted by Dave Reisner
This commit is contained in:
Lennart Poettering 2012-08-21 16:40:17 +02:00
parent cedb42bb69
commit 2cfa886eb1

View file

@ -3033,8 +3033,8 @@ dbusinterface_DATA += \
timedated-install-data-hook:
$(MKDIR_P) -m 0755 \
$(DESTDIR)$(prefix)/lib/ntp-units.d \
$(DESTDIR)$(sysconfdir)/ntp-units.d
$(DESTDIR)$(prefix)/lib/systemd/ntp-units.d \
$(DESTDIR)$(sysconfdir)/systemd/ntp-units.d
( cd $(DESTDIR)$(systemunitdir) && \
rm -f dbus-org.freedesktop.timedate1.service && \
$(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )