From aee17d9b7e421138d3b6f30ef66cf05f6c8ac5ef Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 30 May 2016 12:29:32 +0200 Subject: archPackagesUpdate bricht nun bei fehlschlagendem makepkg.conf-Patch ab --- archPackagesUpdate | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/archPackagesUpdate b/archPackagesUpdate index 4f099a15..1f998f2c 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -400,10 +400,18 @@ then # generate current makepkg.conf and makepkg32.conf cd "${tmpDir}" cp /etc/makepkg.conf . - patch -p0 -i makepkgSystem.patch + if ! patch -p0 -i makepkgSystem.patch + then + cleanUp + exit 1 + fi sed 's|^\(BUILDENV=.*\)!sign|\1sign|' -i makepkg.conf cp makepkg{,32}.conf - patch -p0 -i makepkg32.patch + if ! patch -p0 -i makepkg32.patch + then + cleanUp + exit 1 + fi # build packages for ((i=0; i<${#pakete[@]}; i++)) -- cgit v1.2.3-70-g09d2