until [ -n "$runscript" ]; do
    echo -n "Are you sure you wish to continue? [Y]es [N]o: "
    read runscript
    case $runscript in
        [yY]) echo "Continuing the installation" ;;
        [nN]) echo "Aborting."; exit 1 ;;
        *) unset runscript; continue ;;
    esac
done
