summaryrefslogtreecommitdiff
path: root/fullpkg
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-15 04:19:19 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-15 04:19:19 -0500
commit300888e05f68c187f74b61f3baebf27e6e2d6acc (patch)
tree5fc8cece069d88feed4dc856316ab750220eea68 /fullpkg
parent6b008827e1cd2953ca1015a135c8aaf130c7dd27 (diff)
fullpkg don't fail on update errors
libremakepkg only copy log if log exists
Diffstat (limited to 'fullpkg')
-rwxr-xr-xfullpkg4
1 files changed, 2 insertions, 2 deletions
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