summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--brother-dcpj1140dw.install8
2 files changed, 7 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..160dc9af854b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg/*
+src/*
+*.rpm
diff --git a/brother-dcpj1140dw.install b/brother-dcpj1140dw.install
index 31ee7b6dce7f..cce1d5e9d7cf 100644
--- a/brother-dcpj1140dw.install
+++ b/brother-dcpj1140dw.install
@@ -2,10 +2,10 @@ post_install() {
mkdir -p $pkgdir/var/spool/lpd
# lpr
- /opt/brother/Printers/dcpj1200w/inf/setupPrintcapij dcpj1140dw -i
+ /opt/brother/Printers/dcpj1140dw/inf/setupPrintcapij dcpj1140dw -i
# cupswrapper
- /opt/brother/Printers/dcpj1200w/cupswrapper/cupswrapperdcpj1140dw
+ /opt/brother/Printers/dcpj1140dw/cupswrapper/cupswrapperdcpj1140dw
systemctl restart cups.service
}
@@ -16,10 +16,10 @@ post_upgrade() {
pre_remove() {
# lpr
- /opt/brother/Printers/dcpj1200w/inf/setupPrintcapij dcpj1140dw -e
+ /opt/brother/Printers/dcpj1140dw/inf/setupPrintcapij dcpj1140dw -e
# cupswrapper
- /opt/brother/Printers/dcpj1200w/cupswrapper/cupswrapperdcpj1140dw -e
+ /opt/brother/Printers/dcpj1140dw/cupswrapper/cupswrapperdcpj1140dw -e
}
op=$1