Add apkg repository update before install

This commit is contained in:
Willa Drengwitz
2018-10-16 18:56:05 -04:00
parent 630fd8f834
commit 888a53f1ba

View File

@@ -23,10 +23,10 @@ if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then
if [[ -z "$TEST_SHELLS" ]]; then needs_zsh=true; fi if [[ -z "$TEST_SHELLS" ]]; then needs_zsh=true; fi
# finally, we install zsh if needed! # finally, we install zsh if needed!
if $needs_zsh ; then if $needs_zsh; then
sudo apt-get update
sudo apt-get install zsh sudo apt-get install zsh
else else
echo "No deps required." echo "No deps required."
fi fi
fi fi