diff options
author | David Pflug | 2018-09-04 07:36:17 -0400 |
---|---|---|
committer | David Pflug | 2018-09-04 07:36:17 -0400 |
commit | 08d45a91d1cfc22af6d6cc1ea88f5659fd85f994 (patch) | |
tree | 588f2718f462c519a687f00f88fa0558d2f0265f | |
parent | e8c8a670910e93344ac206473c14cd2364a04a73 (diff) | |
download | aur-08d45a91d1cfc22af6d6cc1ea88f5659fd85f994.tar.gz |
Remove unnecessary path-handling code
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1,4 +1,5 @@ -# Maintainer: Phil Martella <philmartella@live.com> +# Maintainer: David Pflug <david@pflug.email> +# Based on package from Phil Martella <philmartella@live.com> # Based on brother-hl3150cdw by MCMic <come.bernigaud@laposte.net> pkgname="brother-hl3170cdw" pkgver="1.1.4" @@ -23,13 +24,6 @@ if test "$CARCH" == x86_64; then depends+=('lib32-glibc') fi prepare() { - # do not install in '/usr/local' - if [ -d $srcdir/usr/local/Brother ]; then - install -d $srcdir/usr/share - mv $srcdir/usr/local/Brother/ $srcdir/usr/share/brother - rm -rf $srcdir/usr/local - sed -i 's|/usr/local/Brother|/usr/share/brother|g' `grep -lr '/usr/local/Brother' ./` - fi # setup cups-directories install -d $srcdir/usr/share/cups/model install -d $srcdir/usr/lib/cups/filter |