summarylogtreecommitdiffstats
path: root/brother-mfc-l2700dn.install
diff options
context:
space:
mode:
Diffstat (limited to 'brother-mfc-l2700dn.install')
-rw-r--r--brother-mfc-l2700dn.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/brother-mfc-l2700dn.install b/brother-mfc-l2700dn.install
new file mode 100644
index 00000000000..b8187cdf71f
--- /dev/null
+++ b/brother-mfc-l2700dn.install
@@ -0,0 +1,11 @@
+post_install() {
+ post_upgrade;
+}
+
+post_upgrade() {
+ sudo ln -sf /opt/brother/Printers/MFCL2700DN/cupswrapper/brother_lpdwrapper_MFCL2700DN /usr/lib/cups/filter/
+ sudo ln -sf /opt/brother/Printers/MFCL2700DN/cupswrapper/brother-MFCL2700DN-cups-en.ppd /usr/share/ppd/cupsfilters/
+ echo "Restart CUPS (sudo systemctl restart org.cups.cupsd.service) to load the new files"
+ echo "You can now register your new printer using the web interface at:"
+ echo " http://localhost:631/"
+}