diff options
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | brother-mfc-l2720dw.install | 10 |
3 files changed, 12 insertions, 0 deletions
@@ -3,6 +3,7 @@ pkgbase = brother-mfc-l2720dw pkgver = 3.2.0 pkgrel = 1 url = http://solutions.brother.com/linux/en_us/ + install = brother-mfc-l2720dw.install arch = i686 arch = x86_64 license = custom:brother commercial license @@ -8,6 +8,7 @@ arch=("i686" "x86_64") license=('custom:brother commercial license') depends=("cups") depends_x86_64=('lib32-glibc') +install="$pkgname.install" source=( "http://download.brother.com/welcome/dlf101799/mfcl2720dwlpr-$pkgver-$pkgrel.i386.rpm" "http://download.brother.com/welcome/dlf101800/mfcl2720dwcupswrapper-$pkgver-$pkgrel.i386.rpm" diff --git a/brother-mfc-l2720dw.install b/brother-mfc-l2720dw.install new file mode 100644 index 000000000000..93fc2470bf61 --- /dev/null +++ b/brother-mfc-l2720dw.install @@ -0,0 +1,10 @@ +post_install() { + post_upgrade; +} + +post_upgrade() { + echo "Restart CUPS (org.cups.cupsd.service) in order to load the new files." + echo "Register the new print at \"http://localhost:631/\"." + echo -e "\n To avoid errors like \"Unable to locate printer...\" when printing via wifi:" + echo " Add the printer with its socked address \"socket://<printer ip>:9100\"" +} |