[Travis] Only reinstall packages if updated.

This commit is contained in:
Maschell 2018-05-26 16:29:48 +02:00
parent f3cbf9332e
commit 7f811bb836

View File

@ -26,7 +26,7 @@ before_install:
- mkdir -p "${DEVKITPRO}" - 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 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 - 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: install:
- cd $PORTLIBREPOS - cd $PORTLIBREPOS