Interactive interface for browsing global, full-resolution satellite imagery
Check if GTK directory is empty
ZachTRice8e450642e5e7
diff --git a/.travis.yml b/.travis.ymlindex 733d357ae..37aaed4ef 100644--- a/.travis.yml+++ b/.travis.yml@@ -46,11 +46,11 @@ matrix:- pip install virtualenv- virtualenv $HOME/venv- source $HOME/venv/Scripts/activate- - DIRECTORY="c:/GTK"- - if [ ! -d "$DIRECTORY" ]; then curl -o gtk.zip "http://ftp.gnome.org/pub/GNOME/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip" -O -J -L; fi- - if [ ! -d "$DIRECTORY" ]; then mkdir c:/GTK; fi- - if [ ! -d "$DIRECTORY" ]; then unzip gtk.zip -d "c:/GTK"; fi- - if [ ! -d "$DIRECTORY" ]; then rm -f gtk.zip; fi+ - DIR="c:/GTK"+ - if [ ! -d "$(ls -A $DIR)" ]; then curl -o gtk.zip "http://ftp.gnome.org/pub/GNOME/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip" -O -J -L; fi+ - if [ ! -d "$(ls -A $DIR)" ]; then mkdir c:/GTK; fi+ - if [ ! -d "$(ls -A $DIR)" ]; then unzip gtk.zip -d "c:/GTK"; fi+ - if [ ! -d "$(ls -A $DIR)" ]; then rm -f gtk.zip; ficache:directories:- c:/GTK@@ -67,11 +67,11 @@ matrix:- pip install virtualenv- virtualenv $HOME/venv- source $HOME/venv/Scripts/activate- - DIRECTORY="c:/GTK"- - if [ ! -d "$DIRECTORY" ]; then curl -o gtk.zip "http://ftp.gnome.org/pub/GNOME/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip" -O -J -L; fi- - if [ ! -d "$DIRECTORY" ]; then mkdir c:/GTK; fi- - if [ ! -d "$DIRECTORY" ]; then unzip gtk.zip -d "c:/GTK"; fi- - if [ ! -d "$DIRECTORY" ]; then rm -f gtk.zip; fi+ - DIR="c:/GTK"+ - if [ ! -d "$(ls -A $DIR)" ]; then curl -o gtk.zip "http://ftp.gnome.org/pub/GNOME/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip" -O -J -L; fi+ - if [ ! -d "$(ls -A $DIR)" ]; then mkdir c:/GTK; fi+ - if [ ! -d "$(ls -A $DIR)" ]; then unzip gtk.zip -d "c:/GTK"; fi+ - if [ ! -d "$(ls -A $DIR)" ]; then rm -f gtk.zip; ficache:directories:- c:/GTK