diff options
| author | cassiopc <cassiopc@gmail.com> | 2014-10-30 13:07:45 +0000 |
|---|---|---|
| committer | cassiopc <cassiopc@gmail.com> | 2014-10-30 13:07:45 +0000 |
| commit | 4d6446ae97cdf1764e5d59f345abd7f176ea18e6 (patch) | |
| tree | 4c3edb494ba1e39a9db83dc5c85f63026a587181 | |
| parent | 299167dab2835fd91ce67a84deb515fea76246a3 (diff) | |
| download | boca-4d6446ae97cdf1764e5d59f345abd7f176ea18e6.tar.gz boca-4d6446ae97cdf1764e5d59f345abd7f176ea18e6.zip | |
extra warn about losing files
| -rwxr-xr-x | tools/installv2.sh | 13 |
1 files 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 <http://www.gnu.org/licenses/>. # //////////////////////////////////////////////////////////////////////////////// -# // 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 |