Merge pull request #518 from onekk/master
Modified package brother-dcp197c-cupswrapper
This commit is contained in:
commit
9d8eaee613
|
@ -18,7 +18,8 @@
|
|||
# Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
# modified for voidlinux by Carlo Dormeletti carlo.dormeletti <at> email.it
|
||||
# modify date 2014/04/26
|
||||
# 2014/04/26 -- first version
|
||||
# 2014/08/25 -- adapted to runit
|
||||
#
|
||||
|
||||
|
||||
|
@ -52,14 +53,14 @@ if [ "$1" = '-e' ]; then
|
|||
rm -f $ppd_file_name
|
||||
rm -f $brotherlpdwrapper
|
||||
|
||||
systemctl restart cups
|
||||
sv restart cups
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$1" = "-r" ]; then
|
||||
lpadmin -x ${cups_printer_name}
|
||||
|
||||
systemctl restart cups
|
||||
sv restart cups
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -258,7 +259,7 @@ chmod a+w /opt/brother/${device_model}/${printer_model}/inf
|
|||
|
||||
sleep 2s
|
||||
|
||||
systemctl restart cups
|
||||
sv restart cups
|
||||
|
||||
port2=`lpinfo -v | grep -i 'usb://Brother/${device_name}' | head -1`
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'brother-dcp197c-cupswrapper'
|
||||
pkgname=brother-dcp197c-cupswrapper
|
||||
version=1.1.3
|
||||
revision=5
|
||||
revision=6
|
||||
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
||||
homepage="http://support.brother.com/g/b/index.aspx"
|
||||
license="GPL-2"
|
||||
|
|
Loading…
Reference in New Issue