From 57a85afc110eb4a6ae3f4d72fa8efcab46b0d642 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Thu, 18 Aug 2011 14:47:01 +0300 Subject: [PATCH] Fixed upgrade,.sh Added touchings of files. --- upgrade.sh | 5 +++++ 1 file changed, 5 insertions(+) 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