ubuntu-install-isabelle2014.sh revision 2a94e24086f8fbe4aae26e779f9c413cd553c7c3
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