diff options
author | FabioLolix | 2017-11-05 02:47:03 +0100 |
---|---|---|
committer | FabioLolix | 2017-11-05 02:47:03 +0100 |
commit | c7dff766c15f655a94a027453806cb5eb06cb3ce (patch) | |
tree | efab8bc9347c3103b25388b38c4c865fb4c1c8ea /brother-dcpt700w.install | |
download | aur-c7dff766c15f655a94a027453806cb5eb06cb3ce.tar.gz |
Initial commit
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 "$@" + |