]> git.pld-linux.org Git - packages/sysstat.git/blob - install.patch
remove todo
[packages/sysstat.git] / install.patch
1 --- sysstat-11.0.8/Makefile.in  2015-10-28 12:55:45.551618897 +0200
2 +++ sysstat-11.0.8/Makefile.in  2015-10-28 12:57:20.463217311 +0200
3 @@ -364,7 +364,8 @@
4         $(CHOWN) $(CRON_OWNER) $(DESTDIR)$(SA_DIR)
5  ifdef SYSTEMD_UNIT_DIR
6         mkdir -p $(DESTDIR)$(SYSTEMD_UNIT_DIR)
7 -else
8 +endif
9 +ifeq ($(INSTALL_CRON),y)
10         if [ -d /etc/cron.d ]; then \
11                 mkdir -p $(DESTDIR)/etc/cron.d; \
12         elif [ -d /etc/cron.hourly -a -d /etc/cron.daily ]; then \
13 @@ -375,15 +376,13 @@
14         elif [ -d $(RC_DIR) ]; then \
15                 mkdir -p $(DESTDIR)$(RC_DIR); \
16         fi
17 -endif
18 -       if [ -z "$(SYSTEMD_UNIT_DIR)" -o ! -d "$(DESTDIR)$(SYSTEMD_UNIT_DIR)" ]; then \
19                 if [ -d $(DESTDIR)/etc/cron.d ]; then \
20                         $(INSTALL_DATA) cron/sysstat.crond $(DESTDIR)/etc/cron.d/sysstat; \
21                 elif [ -d $(DESTDIR)/etc/cron.hourly -a -d $(DESTDIR)/etc/cron.daily ]; then \
22                         $(INSTALL_BIN) cron/sysstat.cron.hourly $(DESTDIR)/etc/cron.hourly/sysstat; \
23                         $(INSTALL_BIN) cron/sysstat.cron.daily $(DESTDIR)/etc/cron.daily/sysstat; \
24 -               fi \
25 -       fi
26 +               fi
27 +endif
28  ifeq ($(COPY_ONLY),n)
29         if [ \( -z "$(SYSTEMD_UNIT_DIR)" -o ! -d "$(DESTDIR)$(SYSTEMD_UNIT_DIR)" \) -a ! -d $(DESTDIR)/etc/cron.d ]; then \
30                 if [ ! -d $(DESTDIR)/etc/cron.hourly -o ! -d $(DESTDIR)/etc/cron.daily ]; then \
This page took 0.08848 seconds and 3 git commands to generate.