summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schreiner2018-09-16 00:16:56 +0200
committerAndreas Schreiner2018-09-16 00:16:56 +0200
commit7fd6680b042885587f663120212e840e7e2881da (patch)
treea255cf3db3f9c34220ffa45df7c98450d05efef0
parent56c24a7c0d21b5c0918111e8749a91bf16ad0059 (diff)
downloadaur-7fd6680b042885587f663120212e840e7e2881da.tar.gz
Updated version
-rw-r--r--brother-mfc-9142cdn.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/brother-mfc-9142cdn.install b/brother-mfc-9142cdn.install
new file mode 100644
index 000000000000..db108148709d
--- /dev/null
+++ b/brother-mfc-9142cdn.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
+}