diff options
author | Thomas Pointhuber | 2019-06-08 12:31:51 +0200 |
---|---|---|
committer | Thomas Pointhuber | 2019-06-08 12:31:51 +0200 |
commit | c9d5893aeae323e6eda77881ff0cf1b7b475c314 (patch) | |
tree | 89a6c161eb5f00f25cdcb25d4cc87cd1c6cab36d /brother-dcpj572dw.install | |
download | aur-c9d5893aeae323e6eda77881ff0cf1b7b475c314.tar.gz |
Initial Version (1.0.5-0)
Diffstat (limited to 'brother-dcpj572dw.install')
-rw-r--r-- | brother-dcpj572dw.install | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/brother-dcpj572dw.install b/brother-dcpj572dw.install new file mode 100644 index 000000000000..3769c864f528 --- /dev/null +++ b/brother-dcpj572dw.install @@ -0,0 +1,27 @@ +post_install() { + # lpr + /opt/brother/Printers/dcpj572dw/inf/setupPrintcapij dcpj572dw -i + + # cupswrapper + /opt/brother/Printers/dcpj572dw/cupswrapper/cupswrapperdcpj572dw + + systemctl restart org.cups.cupsd +} + +post_upgrade() { + /bin/true +} + +pre_remove() { + # lpr + /opt/brother/Printers/dcpj572dw/inf/setupPrintcapij dcpj572dw -e + + # cupswrapper + /opt/brother/Printers/dcpj572dw/cupswrapper/cupswrapperdcpj572dw -e +} + +op=$1 +shift + +$op "$@" + |