summarylogtreecommitdiffstats
path: root/brother-mfc-l2700dn.install
diff options
context:
space:
mode:
authorSimon Lackerbauer2015-12-01 21:59:09 +0100
committerSimon Lackerbauer2015-12-01 21:59:09 +0100
commit0976d040aa03ecd3ce00bee24ae4d2b4130a7061 (patch)
treeaefffd69a2653a6c2c0c592443eab6e1ce53a53f /brother-mfc-l2700dn.install
downloadaur-0976d040aa03ecd3ce00bee24ae4d2b4130a7061.tar.gz
initial commit, largely based on stefano's brother-mfc-l2700dw package
(s. https://aur.archlinux.org/packages/brother-mfc-l2700dw/)
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 000000000000..b8187cdf71f2
--- /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/"
+}