From 300888e05f68c187f74b61f3baebf27e6e2d6acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= Date: Wed, 15 Jun 2011 04:19:19 -0500 Subject: fullpkg don't fail on update errors libremakepkg only copy log if log exists --- fullpkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fullpkg') diff --git a/fullpkg b/fullpkg index 9dd2ad8..3edc636 100755 --- a/fullpkg +++ b/fullpkg @@ -287,7 +287,7 @@ function _pkg_build () { } msg "Updating pacman db and packages" - sudo pacman -Syu --noconfirm + sudo pacman -Syu --noconfirm || true } echo "built:$(basename $PWD)" >> $build_dir/log @@ -404,7 +404,7 @@ if [ $level -eq 0 ]; then [ $noupdate = 'n' ] && { msg "Updating pacman db and packages" - sudo pacman -Syu --noconfirm + sudo pacman -Syu --noconfirm || true } # Build only -- cgit v1.2.2