diff options
author | Simon Lackerbauer | 2015-12-01 21:59:09 +0100 |
---|---|---|
committer | Simon Lackerbauer | 2015-12-01 21:59:09 +0100 |
commit | 0976d040aa03ecd3ce00bee24ae4d2b4130a7061 (patch) | |
tree | aefffd69a2653a6c2c0c592443eab6e1ce53a53f /brother-mfc-l2700dn.install | |
download | aur-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.install | 11 |
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/" +} |