summarylogtreecommitdiffstats
path: root/brother-dcp365cn.install
diff options
context:
space:
mode:
Diffstat (limited to 'brother-dcp365cn.install')
-rw-r--r--brother-dcp365cn.install27
1 files changed, 13 insertions, 14 deletions
diff --git a/brother-dcp365cn.install b/brother-dcp365cn.install
index d76499a308ce..c558e82d412b 100644
--- a/brother-dcp365cn.install
+++ b/brother-dcp365cn.install
@@ -1,27 +1,26 @@
post_install() {
- # lpr
- /opt/brother/Printers/dcp365cn/inf/setupPrintcapij dcp365cn -i
-
- # cupswrapper
- /opt/brother/Printers/dcp365cn/cupswrapper/cupswrapperdcp365cn
-
- systemctl restart cups.service
+ # lpr
+ /opt/brother/Printers/dcp365cn/inf/setupPrintcapij dcp365cn -i
+
+ # cupswrapper
+ /opt/brother/Printers/dcp365cn/cupswrapper/cupswrapperdcp365cn
+
+ systemctl restart cups.service
}
post_upgrade() {
- /bin/true
+ /bin/true
}
pre_remove() {
- # lpr
- /opt/brother/Printers/dcp365cn/inf/setupPrintcapij dcp365cn -e
-
- # cupswrapper
- /opt/brother/Printers/dcp365cn/cupswrapper/cupswrapperdcp365cn -e
+ # lpr
+ /opt/brother/Printers/dcp365cn/inf/setupPrintcapij dcp365cn -e
+
+ # cupswrapper
+ /opt/brother/Printers/dcp365cn/cupswrapper/cupswrapperdcp365cn -e
}
op=$1
shift
$op "$@"
-