#!/bin/bash positioning_version='9725fe1f553197042d6445997690d452a73490c0' navit_version='f5abdd317e10d56226300d001469595658a605e4' echo "version of positioning is: $positioning_version" echo "version of navit is: $navit_version" echo "This script deletes and reloads all the third party software" read -r -p "Are you sure ? [y/N] " input case "$input" in [y/Y]) ./update_navit.sh $navit_version ./update_positioning.sh $positioning_version echo "Please rebuild with at least -c option" ;; *) exit 1 ;; esac