summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhawkeye1164772023-07-12 19:26:47 +0200
committerhawkeye1164772023-07-12 19:26:47 +0200
commit339102006b5db50356a6e28321b0e385d7bdcbeb (patch)
tree21c16f4394d51c2abe4a5faa2213f0a6e75f3413
parentdc5a449ade041cec84239f057e50d54c140d04aa (diff)
downloadaur-brother-dcpj925dw.tar.gz
Fix CUPS restart
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD2
-rw-r--r--brother-dcpj925dw.install8
3 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8b31d1bd46cc..3d784ce435d1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = brother-dcpj925dw
pkgdesc = Driver for the Brother DCP-J925DW wifi multifuncional printer
pkgver = 3.0
- pkgrel = 3
+ pkgrel = 4
url = http://solutions.brother.com/linux/en_us/index.html
install = brother-dcpj925dw.install
arch = i686
@@ -21,4 +21,3 @@ pkgbase = brother-dcpj925dw
md5sums = d429fb9b1faa4e895d8af8045e83cb80
pkgname = brother-dcpj925dw
-
diff --git a/PKGBUILD b/PKGBUILD
index 1d4ad1365229..ca2f950c1c70 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Based on brother-dcpj315w PKGBUILD
pkgname=brother-dcpj925dw
pkgver=3.0
-pkgrel=3
+pkgrel=4
pkgdesc="Driver for the Brother DCP-J925DW wifi multifuncional printer"
url="http://solutions.brother.com/linux/en_us/index.html"
license=('custom:brother' 'GPL2')
diff --git a/brother-dcpj925dw.install b/brother-dcpj925dw.install
index 1504e4e441ca..eaf62289aef4 100644
--- a/brother-dcpj925dw.install
+++ b/brother-dcpj925dw.install
@@ -1,11 +1,11 @@
post_install() {
# lpr
/opt/brother/Printers/dcpj925dw/inf/setupPrintcapij dcpj925dw -i
-
+
# cupswrapper
/opt/brother/Printers/dcpj925dw/cupswrapper/cupswrapperdcpj925dw
-
- systemctl restart org.cups.cupsd.service
+
+ systemctl restart cups.service
}
post_upgrade() {
@@ -15,7 +15,7 @@ post_upgrade() {
pre_remove() {
# lpr
/opt/brother/Printers/dcpj925dw/inf/setupPrintcapij dcpj925dw -e
-
+
# cupswrapper
/opt/brother/Printers/dcpj925dw/cupswrapper/cupswrapperdcpj925dw -e
}