diff options
Diffstat (limited to 'brother-dcpt700w.install')
-rw-r--r-- | brother-dcpt700w.install | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/brother-dcpt700w.install b/brother-dcpt700w.install new file mode 100644 index 000000000000..ed48e791bf5f --- /dev/null +++ b/brother-dcpt700w.install @@ -0,0 +1,27 @@ +post_install() { + # lpr + /opt/brother/Printers/dcpt700w/inf/setupPrintcapij dcpt700w -i + + # cupswrapper + /opt/brother/Printers/dcpt700w/cupswrapper/cupswrapperdcpt700w + + systemctl restart org.cups.cupsd.service +} + +post_upgrade() { + /bin/true +} + +pre_remove() { + # lpr + /opt/brother/Printers/dcpt700w/inf/setupPrintcapij dcpt700w -e + + # cupswrapper + /opt/brother/Printers/dcpt700w/cupswrapper/cupswrapperdcpt700w -e +} + +op=$1 +shift + +$op "$@" + |