Commit ebca6e50 authored by totte's avatar totte
Browse files

Always upgrade before building a package

parent fe6277bb
...@@ -244,7 +244,9 @@ function build_packages() { ...@@ -244,7 +244,9 @@ function build_packages() {
for p in "${PACKAGES[@]}"; do for p in "${PACKAGES[@]}"; do
# resync to update local repo # resync to update local repo
_do sudo pacman -Sy --noconfirm # TODO: This may cause issues if pacman (with makepkg) is upgraded
_do sudo pacman -Syyu --noconfirm
pushd $p pushd $p
_log command "Building pkg: $p" _log command "Building pkg: $p"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment