do not install offline update related files if disabled
This commit is contained in:
parent
2858fbba33
commit
3355c36135
@ -85,7 +85,7 @@ pkmon_LDFLAGS = \
|
||||
pkmon_CFLAGS = \
|
||||
$(WARNINGFLAGS_C)
|
||||
|
||||
if HAVE_SYSTEMD
|
||||
if ENABLE_OFFLINE_UPDATE
|
||||
|
||||
libexec_PROGRAMS = \
|
||||
pk-offline-update
|
||||
|
@ -27,7 +27,10 @@ systemdservice_in_files = \
|
||||
|
||||
if HAVE_SYSTEMD
|
||||
systemdservicedir = $(systemdsystemunitdir)
|
||||
systemdservice_DATA = $(systemdservice_in_files:.service.in=.service)
|
||||
systemdservice_DATA = packagekit.service
|
||||
if ENABLE_OFFLINE_UPDATE
|
||||
systemdservice_DATA += packagekit-offline-update.service
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user