wok-6.x rev 19183

cups: usb uri example (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 04 12:20:36 2016 +0200 (2016-06-04)
parents 0190cbd75197
children fe9c8e34b643
files cups/receipt
line diff
     1.1 --- a/cups/receipt	Sat Jun 04 06:28:49 2016 -0300
     1.2 +++ b/cups/receipt	Sat Jun 04 12:20:36 2016 +0200
     1.3 @@ -68,12 +68,12 @@
     1.4  
     1.5  	# Daemon script
     1.6  	cp -a $stuff/etc $fs
     1.7 -	sed -i 's|^#Group .*|Group lp\n# for access to parallel:/dev/usb/lp0|' $fs/etc/cups/cups-files.conf
     1.8 +	sed -i 's|^#Group .*|Group lp|' $fs/etc/cups/cups-files.conf
     1.9  
    1.10  	# TazPanel link
    1.11  	cp -a $stuff/var $fs
    1.12  
    1.13 -	sed -i 's|hostname:9100|&\n\n    parallel:/dev/usb/lp0| \
    1.14 +	sed -i 's|hostname:9100|&\n\n    parallel:/dev/usb/lp0|' \
    1.15  		$fs/usr/share/cups/templates/choose-uri.tmpl
    1.16  }
    1.17