remove redundancy

This commit is contained in:
kytv
2012-01-03 00:42:11 +00:00
parent b44441eb04
commit b940d2a453

View File

@ -102,11 +102,11 @@ download_update () {
wget -N --progress=dot "$GEOIP" || error "Downloading geoip file"
;;
*)
wget -nv "$GEOIP" || error "Downloading geoip file failed"
wget -nv "$GEOIP" || error "Downloading geoip file"
;;
esac
unzip -q GeoIPCountryCSV.zip || error "Unzipping geoip file failed"
unzip -q GeoIPCountryCSV.zip || error "Unzipping geoip file"
cat << EOF >> $BOILERPLATE
# Last updated based on Maxmind GeoLite Country
# dated `TZ=UTC stat -c %y GeoIPCountryWhois.csv|cut -d' ' -f1`