]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix installation of xinetd configuration file for cups-lpd 7/head
authorTimo Gurr <timo.gurr@gmail.com>
Thu, 15 Oct 2020 16:30:53 +0000 (18:30 +0200)
committerTimo Gurr <timo.gurr@gmail.com>
Thu, 15 Oct 2020 16:33:10 +0000 (18:33 +0200)
Fix --with-xinetd=/etc/xinetd.d not installing the cups-ldp xinetd
configuration file.

scheduler/Makefile

index b50bd0a99bd611401f7ddf91e5573f8922701d1e..442eed6207b1eb2b679470e7e8a3f1c2e78e7abd 100644 (file)
@@ -199,7 +199,8 @@ install-data:
                $(INSTALL_DATA) org.cups.cupsd.socket $(BUILDROOT)$(SYSTEMD_DIR); \
                $(INSTALL_DATA) org.cups.cups-lpdAT.service $(BUILDROOT)$(SYSTEMD_DIR)/org.cups.cups-lpd@.service; \
                $(INSTALL_DATA) org.cups.cups-lpd.socket $(BUILDROOT)$(SYSTEMD_DIR); \
-       elif test "x$(XINETD)" != x; then \
+       fi
+       if test "x$(XINETD)" != x; then \
                echo Installing xinetd configuration file for cups-lpd...; \
                $(INSTALL_DIR) -m 755 $(BUILDROOT)$(XINETD); \
                $(INSTALL_DATA) cups-lpd.xinetd $(BUILDROOT)$(XINETD)/cups-lpd; \