use default ipkg.conf
[openwrt.git] / package / cups / Makefile
index 8f75ba1..8ffa866 100644 (file)
@@ -71,8 +71,11 @@ $(PKG_BUILD_DIR)/.built:
        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/
+       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