From 4d6446ae97cdf1764e5d59f345abd7f176ea18e6 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Thu, 30 Oct 2014 13:07:45 +0000 Subject: extra warn about losing files --- tools/installv2.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tools/installv2.sh b/tools/installv2.sh index 69131bf..e7a7474 100755 --- a/tools/installv2.sh +++ b/tools/installv2.sh @@ -15,13 +15,22 @@ # // You should have received a copy of the GNU General Public License # // along with this program. If not, see . # //////////////////////////////////////////////////////////////////////////////// -# // Last modified 27/Oct/2014 by cassio@ime.usp.br +# // modified 30/Oct/2014 by cassio@ime.usp.br +# // inclusion of extra warning about losing your own files +# // modified 27/Oct/2014 by cassio@ime.usp.br # // inclusion of gcc-4.8 and update to Java 7 #/////////////////////////////////////////////////////////////////////////////////////////// echo "#############################################################" -echo "### installv2.sh of 27/Oct/2014 (A) by cassio@ime.usp.br ###" +echo "### installv2.sh of 30/Oct/2014 (A) by cassio@ime.usp.br ###" echo "#############################################################" +echo "###" +echo "####" +echo "##### NEVER RUN installv2.sh in a computer that is not a FRESH ubuntu (you might lose stuff)" +echo "####" +echo "### press control-C to stop now or enter to proceed" +read lin + if [ "`id -u`" != "0" ]; then echo "Must be run as root" exit 1 -- cgit v1.2.3