1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

Remove unnecessary error catching from PKGBUILD protos

The use of "|| return 1" is no longer necessary in PKGBUILDs.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Allan McRae 2010-05-29 11:17:10 +10:00 committed by Dan McGee
parent 5dffef787d
commit 2710b256cc
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ md5sums=() #generate with 'makepkg -g'
build() {
cd "$srcdir/$pkgbase-$pkgver"
./configure --prefix=/usr
make || return 1
make
}
package_pkg1() {

View File

@ -30,7 +30,7 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make || return 1
make
}
package() {