diff options
author | dw | 2015-08-05 13:08:42 +0200 |
---|---|---|
committer | dw | 2015-08-05 13:08:42 +0200 |
commit | d017b797878f65faac457038f7846103db7343c2 (patch) | |
tree | 17a42e5d20769c0a7493c98184fafe5025387276 | |
parent | 62552e4407216ee7f37728ac665fd03033e52b38 (diff) | |
download | aur-brother-mfc-l2720dw.tar.gz |
Added .install script
-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\"" +} |