View Single Post
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#54
I found this in the postinst-script:
Code:
	# Set up backends
	db_get cupsys/backend && SELECTED=$RET
	list=`echo $SELECTED | sed -e 's/, /,/g'`
	save_IFS=$IFS
	IFS=,
	(cd /usr/lib/cups/backend && rm -f http ipp lpd parallel scsi serial socket usb snmp dnssd)
	for module in $list; do
	  ln /usr/lib/cups/backend-available/$module /usr/lib/cups/backend/$module
	  if [ "$module" = "ipp" ]; then
            ln /usr/lib/cups/backend/ipp /usr/lib/cups/backend/http
	  fi
	done
	IFS=$save_IFS

	# activate new backends on upgrades
	db_fset cupsys/backend changed false
	
	if dpkg --compare-versions "$2" lt-nl "1.3.4-2"; then
	    for module in snmp scsi serial dnssd; do
	        [ -e /usr/lib/cups/backend/$module ] || \
	        ln /usr/lib/cups/backend-available/$module /usr/lib/cups/backend/$module
	    done
	fi
Seems that this fails. But I get no configure error, but the backend folder stays
empty. For me the symlink is an ugly workaround.
__________________
May the force be with us!

Last edited by mase; 2010-07-16 at 07:21.
 

The Following User Says Thank You to mase For This Useful Post: