- #!/bin/bash
- for file in google-earth-stable_current_i386.deb google-earth-stable_current_amd64.deb; do
- ETAG=$(curl -s --head "http://dl.google.com/linux/direct/$file" | grep ETag)
- if ! grep -qs "$ETAG" "$file.etag"; then
- wget "http://dl.google.com/linux/direct/$file" -O "$file"
- echo "$ETAG" > "$file.etag"
- fi
- done
google earth update check
Posted by Admin on Mon 20th Jun 2011 12:57
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.