diff --git a/upgrade.sh b/upgrade.sh index d5be60af..a4c3dead 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -1,9 +1,14 @@ #!/bin/bash echo "Backing up files..." +touch ~/.bash_exports cat ~/.bash_exports > ~/.bash_exports.old.backup +touch ~/.bash_profile cat ~/.bash_profile > ~/.bash_profile.old.backup +touch ~/.bash_aliases cat ~/.bash_aliases > ~/.bash_aliases.old.backup +touch ~/.bash_functions cat ~/.bash_functions > ~/.bash_functions.old.backup +touch ~/.bashrc cat ~/.bashrc > ~/.bashrc.old.backup echo "Installing new files..." cat bash_exports > ~/.bash_exports