From e00c55f49eac45b3b0ebf6f1fe4149ef8f1bdc1c Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Mon, 12 Sep 2011 08:31:40 +0300 Subject: [PATCH] upgrade.sh: Do not overwrite bash_exports! --- upgrade.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/upgrade.sh b/upgrade.sh index d75a1937..364071ce 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -11,12 +11,18 @@ cat ~/.bash_functions > ~/.bash_functions.old.backup touch ~/.bashrc cat ~/.bashrc > ~/.bashrc.old.backup echo "Installing new files..." -cat bash_exports > ~/.bash_exports cat bash_profile > ~/.bash_profile cat bash_aliases > ~/.bash_aliases cat bash_functions > ~/.bash_functions cat bashrc > ~/.bashrc +echo "Not installing bash_exports, See content of that file:" +touch ~/.bash_exports +echo "-- Start of content of bash_exports --" +cat bash_exports +echo "-- End of content of bash_exports --" touch ~/.bash_private_aliases echo "Not installing bash_private_aliases. See content of that file:" +echo "-- start of content of bash_private_aliases" cat bash_private_aliases +echo "-- end of content of bash_private_aliases --" echo "Installation has been completed. You might now need to source your ~/.bashrc for changes to happen."