echo "This script must be run as root" 1>&2
exit 1
fi
sed -i~ '128iinit_component \"\$ISABELLE_HOME/contrib/ProofGeneral-4.2-2\"' \
echo "creating uninstall script: $ISABELLE_UNINST"
cat > $ISABELLE_UNINST <<EOF
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
rm -rf $ISABELLE_DIR
rm /usr/bin/isabelle
rm /usr/bin/isabelle_*
EOF