mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-08 20:38:04 -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:
parent
5dffef787d
commit
2710b256cc
@ -29,7 +29,7 @@ md5sums=() #generate with 'makepkg -g'
|
|||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgbase-$pkgver"
|
cd "$srcdir/$pkgbase-$pkgver"
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make || return 1
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package_pkg1() {
|
package_pkg1() {
|
||||||
|
@ -30,7 +30,7 @@ build() {
|
|||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make || return 1
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
Loading…
Reference in New Issue
Block a user