Fixed ticket #169 thanks to gps !
[openwrt.git] / package / cups / Makefile
index 8f75ba1..8ffa866 100644 (file)
@@ -71,8 +71,11 @@ $(PKG_BUILD_DIR)/.built:
        touch $@
 
 $(IPKG_CUPS):
        touch $@
 
 $(IPKG_CUPS):
+       rm -rf $(IDIR_CUPS)/etc/cups
        install -d -m0755 $(IDIR_CUPS)/etc/cups
        cp -fpR $(PKG_INSTALL_DIR)/etc/cups/* $(IDIR_CUPS)/etc/cups/
        install -d -m0755 $(IDIR_CUPS)/etc/cups
        cp -fpR $(PKG_INSTALL_DIR)/etc/cups/* $(IDIR_CUPS)/etc/cups/
+       rm -rf $(IDIR_CUPS)/etc/cups/certs
+       ln -sf /tmp $(IDIR_CUPS)/etc/cups/certs
        install -d -m0755 $(IDIR_CUPS)/usr/bin
        cp -fpR $(PKG_INSTALL_DIR)/usr/bin/* $(IDIR_CUPS)/usr/bin/
        rm -f $(IDIR_CUPS)/usr/bin/cups-config
        install -d -m0755 $(IDIR_CUPS)/usr/bin
        cp -fpR $(PKG_INSTALL_DIR)/usr/bin/* $(IDIR_CUPS)/usr/bin/
        rm -f $(IDIR_CUPS)/usr/bin/cups-config
This page took 0.028912 seconds and 4 git commands to generate.