[Travis] Only reinstall packages if updated.

This commit is contained in:
Maschell 2018-05-26 16:29:13 +02:00
parent 85d4a2753c
commit 672d2d3ca2

View File

@ -24,7 +24,7 @@ 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 devkitPPC --needed
install:
- rm -rf $DEVKITPRO/portlibs