Fixed upgrade,.sh

Added touchings of files.
This commit is contained in:
Mika Suomalainen 2011-08-18 14:47:01 +03:00
parent 6242d1dcc6
commit 57a85afc11
1 changed files with 5 additions and 0 deletions

View File

@ -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