Upgrade image before building packages
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Davide Depau 2020-04-30 01:46:07 +02:00
parent 44464674a0
commit ae1126bc76
No known key found for this signature in database
GPG key ID: F7F589B2907FBD24

View file

@ -19,6 +19,9 @@ if [ "$PLUGIN_AUTO_MAKEFLAGS" != "no" ]; then
echo "MAKEFLAGS='-j$(nproc)'" | sudo tee -a /etc/makepkg.conf
fi
echo "Upgrading image"
yay -Syu --noprogressbar --noconfirm --mflags=-A
if [ "$PLUGIN_INSTALL" != "" ]; then
echo "Installing packages before build: $PLUGIN_INSTALL"
yay -Syu --noprogressbar --noconfirm --mflags=-A $(echo "$PLUGIN_INSTALL" | tr ',' ' ')