[2/2] cups: Add link at /etc/cups pointing to configuration
Commit Message
This is needed because cups-pdf is looking for its configuration file in
/etc/cups.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
config/rootfiles/packages/cups | 1 +
lfs/cups | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
@@ -1,3 +1,4 @@
+etc/cups
etc/dbus-1/system.d/cups.conf
etc/pam.d/cups
etc/rc.d/init.d/cups
@@ -33,7 +33,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/cups-$(VER)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = cups
-PAK_VER = 27
+PAK_VER = 28
DEPS = avahi cups-filters dbus ghostscript
@@ -104,5 +104,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
$(call INSTALL_INITSCRIPTS,$(SERVICES))
cp -fv $(DIR_SRC)/config/cups/cupsd.conf /var/ipfire/cups/
+ # Install convenience link
+ ln -svf /var/ipfire/cups /etc/cups
+
@rm -rf $(DIR_APP)
@$(POSTBUILD)