summarylogtreecommitdiffstats
path: root/brother-mfc-7360n.install
diff options
context:
space:
mode:
authorcore_contingency2020-01-23 20:58:55 -0700
committercore_contingency2020-01-23 20:58:55 -0700
commitafabc0a098a5f0184a654f3ff17f65bf9cbd3bec (patch)
treefe53938ed89c55d9cf9bf997c1fbc0d4cec17274 /brother-mfc-7360n.install
downloadaur-afabc0a098a5f0184a654f3ff17f65bf9cbd3bec.tar.gz
initial commit
Diffstat (limited to 'brother-mfc-7360n.install')
-rw-r--r--brother-mfc-7360n.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/brother-mfc-7360n.install b/brother-mfc-7360n.install
new file mode 100644
index 000000000000..72d9702047c9
--- /dev/null
+++ b/brother-mfc-7360n.install
@@ -0,0 +1,12 @@
+post_install() {
+ post_upgrade;
+}
+
+post_upgrade() {
+ /usr/local/Brother/Printer/MFC7360N/cupswrapper/cupswrapperMFC7360N-2.0.4 >/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
+}