#!/bin/bash # Petit script pour installer les cartes gshhs de plus haute résolution # dans le répertoire /opt/zyGrib/maps/gshhs ## Script to install gshhs maps in higher resolution in ## /opt/zyGrib/maps/gshhs # à utiliser après instalation du paquet zyGrib-xxx.deb # Informations complètes sur http://zygrib.org ## to be used after zyGrib-xxx.deb ## All info on http://zygrib.org # Auteur : Dominique Hausser # Date : 7 août 2008 # Update : 02/09/2008; 05/12/2008 # à faire tourner en root pour pouvoir écrire dans le répertoire /opt # ne pas oublier de le rendre exécutable : chmod +x gshhs_maps2_deb_install ## use the script with root to be able to write in rep /opt ## do not forget : chmod +x gshhs_install cd /opt/zyGrib sudo wget http://zygrib.org/getfile.php?file=zyGrib_maps2.tgz sudo tar -xvvzf zyGrib_maps2.tgz sudo chown root:root maps/gshhs/* sudo rm -rf zyGrib_maps2.tgz exit 0