diff options
author | Bartek | 2017-04-17 19:41:11 +0200 |
---|---|---|
committer | Bartek | 2017-04-17 19:41:11 +0200 |
commit | 8eac210e4a65f8f72796d23f0a086edaea0eaa83 (patch) | |
tree | 204b46e407b8eaaa5faca53237e5ac6d14b6450f | |
parent | a2cf4fd3d486b5f153b20333b93a50dceae4c583 (diff) | |
download | aur-8eac210e4a65f8f72796d23f0a086edaea0eaa83.tar.gz |
Fix for restart cups
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | brother-dcpj925dw.install | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Based on brother-dcpj315w PKGBUILD pkgname=brother-dcpj925dw pkgver=3.0 -pkgrel=1 +pkgrel=2 pkgdesc="Driver for the Brother DCP-J925DW wifi multifuncional printer" url="http://solutions.brother.com/linux/en_us/index.html" license=('custom:brother') @@ -31,6 +31,10 @@ build() { patch -Np0 < fix_lp.patch } +post_install() { + /opt/brother/Printers/dcpj925dw/cupswrapper/cupswrapperdcpj925dw +} + package() { install -d $pkgdir/usr/bin diff --git a/brother-dcpj925dw.install b/brother-dcpj925dw.install index 62af1c32bcdf..1504e4e441ca 100644 --- a/brother-dcpj925dw.install +++ b/brother-dcpj925dw.install @@ -5,7 +5,7 @@ post_install() { # cupswrapper /opt/brother/Printers/dcpj925dw/cupswrapper/cupswrapperdcpj925dw - systemctl restart cups + systemctl restart org.cups.cupsd.service } post_upgrade() { |