commit 8b87b8667e329b99560ae57cdcd74168708c87c2 parent d2e8e6fcc54254258bbe53c8a42a83eb3fd53fde Author: Ed van Bruggen <edvb54@gmail.com> Date: Mon, 20 Jul 2015 15:49:15 -0700 install.sh: Fix comments Diffstat:
install.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/install.sh b/install.sh @@ -15,10 +15,10 @@ for file in *; do mkdir -p "$backup_dir" # create it if it does not fi echo -n "Backing up .$file to $backup_dir/$file ... " - cp "$target" "$backup_dir/$file" # backup file if it exists + cp "$target" "$backup_dir/$file" # backup file if it exists and is not a symlink echo "done" fi - rm -rf "$target" # if it is a synlink then remove it + rm -rf "$target" # if it is a symlink then remove it fi echo -n "Linking .$file ... " ln -s "$PWD/$file" "$target"