summarylogtreecommitdiffstats
path: root/brother-mfc-9140cdn.install
diff options
context:
space:
mode:
authorAndreas Schreiner2018-10-17 00:06:31 +0200
committerAndreas Schreiner2018-10-17 00:06:31 +0200
commit17a99420ce0bf13d5f8b7a3ac3871acba37f036b (patch)
tree3d66ef46895207b34351d23283b943b00416d1c7 /brother-mfc-9140cdn.install
parentf86dcb82162bbf81ef4e2d8cf4bb85bee20901eb (diff)
downloadaur-17a99420ce0bf13d5f8b7a3ac3871acba37f036b.tar.gz
fixed version mixup 9140-9142, reverted lprdriver, updated cupswrapper
Diffstat (limited to 'brother-mfc-9140cdn.install')
-rw-r--r--brother-mfc-9140cdn.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/brother-mfc-9140cdn.install b/brother-mfc-9140cdn.install
new file mode 100644
index 000000000000..db108148709d
--- /dev/null
+++ b/brother-mfc-9140cdn.install
@@ -0,0 +1,12 @@
+post_install() {
+ post_upgrade;
+}
+
+post_upgrade() {
+ /opt/brother/Printers/mfc9140cdn/cupswrapper/cupswrappermfc9140cdn >/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
+}