summarylogtreecommitdiffstats
path: root/brother-mfc-9460cdn.install
diff options
context:
space:
mode:
authorSeylerius2016-11-22 13:34:21 -0800
committerSeylerius2016-11-22 13:34:21 -0800
commit67a531d7efd4f534017d681548c2b9c5b10fcd73 (patch)
treedf4d45d24bb844684470253b2fae4e008c747fae /brother-mfc-9460cdn.install
downloadaur-67a531d7efd4f534017d681548c2b9c5b10fcd73.tar.gz
Modified dno's brother-mfc-j625dw for the MFC 9460cdn
Diffstat (limited to 'brother-mfc-9460cdn.install')
-rw-r--r--brother-mfc-9460cdn.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/brother-mfc-9460cdn.install b/brother-mfc-9460cdn.install
new file mode 100644
index 000000000000..502f652f0ec1
--- /dev/null
+++ b/brother-mfc-9460cdn.install
@@ -0,0 +1,12 @@
+post_install() {
+ post_upgrade;
+}
+
+post_upgrade() {
+ /opt/brother/Printers/mfc9460cdn/cupswrapper/cupswrappermfc9460cdn >/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
+}