summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek2017-04-17 19:41:11 +0200
committerBartek2017-04-17 19:41:11 +0200
commit8eac210e4a65f8f72796d23f0a086edaea0eaa83 (patch)
tree204b46e407b8eaaa5faca53237e5ac6d14b6450f
parenta2cf4fd3d486b5f153b20333b93a50dceae4c583 (diff)
downloadaur-8eac210e4a65f8f72796d23f0a086edaea0eaa83.tar.gz
Fix for restart cups
-rw-r--r--PKGBUILD6
-rw-r--r--brother-dcpj925dw.install2
2 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5957eddff8df..170b571716fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {