summarylogtreecommitdiffstats
path: root/brother-mfc-l8900cdw.install
diff options
context:
space:
mode:
authorBonnee2018-01-11 14:06:01 +0100
committerBonnee2018-01-11 14:06:01 +0100
commit8b54b18dc5f9e9e8433244e63e3f599fb98915ab (patch)
tree510541f0709454c3273e9ebdb2c969702bad51b6 /brother-mfc-l8900cdw.install
parent88274091347126bdfbc21f1f148b08860023fe16 (diff)
downloadaur-8b54b18dc5f9e9e8433244e63e3f599fb98915ab.tar.gz
Update to MFC-L8900CDW
Diffstat (limited to 'brother-mfc-l8900cdw.install')
-rw-r--r--brother-mfc-l8900cdw.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/brother-mfc-l8900cdw.install b/brother-mfc-l8900cdw.install
new file mode 100644
index 000000000000..915bdd828932
--- /dev/null
+++ b/brother-mfc-l8900cdw.install
@@ -0,0 +1,12 @@
+post_install() {
+ post_upgrade;
+}
+
+post_upgrade() {
+ /opt/brother/Printers/mfcl8900cdw/cupswrapper/cupswrappermfcl8900cdw >/dev/null
+ if [ "$?" -eq 0 ]; then
+ printf "\033[1m\033[32m\x3d\x3d\x3e\033\1330m Done. The printer should be visible now via the CUPS-webinterface (http://localhost:631)\n"
+ else
+ printf "\033[1m\032[32m\x3d\x3d\x3e\033\1330m Something went wrong...\n"
+ fi
+}