summarylogtreecommitdiffstats
path: root/brother-mfc-j625dw.install
diff options
context:
space:
mode:
authorDino Morelli2015-06-28 13:13:12 -0400
committerDino Morelli2015-06-28 13:13:12 -0400
commitf4052669e63e936abc50376b50060785f32234ad (patch)
tree63e047af750b3d16d0e71e8495e03cc97dabd489 /brother-mfc-j625dw.install
downloadaur-f4052669e63e936abc50376b50060785f32234ad.tar.gz
Initial commit
Moving this package over from the old pre-4 AUR.
Diffstat (limited to 'brother-mfc-j625dw.install')
-rw-r--r--brother-mfc-j625dw.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/brother-mfc-j625dw.install b/brother-mfc-j625dw.install
new file mode 100644
index 000000000000..83bf6f72cc01
--- /dev/null
+++ b/brother-mfc-j625dw.install
@@ -0,0 +1,12 @@
+post_install() {
+ post_upgrade;
+}
+
+post_upgrade() {
+ /opt/brother/Printers/mfcj625dw/cupswrapper/cupswrappermfcj625dw >/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
+}