From 6e348fde02a94f89a368bc48a221b5fc5d07fa16 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 26 May 2018 16:20:22 +0200 Subject: [PATCH] [Travis] Only reinstall packages if updated. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4181d6b..ffc4f59 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,8 +26,8 @@ before_install: - mkdir -p "${DEVKITPRO}" - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb -O /tmp/devkitpro-pacman.deb; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo dpkg -i /tmp/devkitpro-pacman.deb; fi - - yes | sudo dkp-pacman -Syu devkitPPC - - yes | sudo dkp-pacman -Syu general-tools + - yes | sudo dkp-pacman -Syu devkitPPC --needed + - yes | sudo dkp-pacman -Syu general-tools --needed install: - cd $PORTLIBREPOS