Skip to content

Commit

Permalink
Ensure install.conf.yaml isn't overwritten
Browse files Browse the repository at this point in the history
We do this by appending the conf instead of writing it outright.

This is because if a file is a symbolic link, it won't be added.

This makes the script safe to run multiple times over.
  • Loading branch information
Vaelatern committed Jun 10, 2015
1 parent d2377d4 commit af83683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easy_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ appendshell() {
add="mv $2 $3;"
;;
echoconfig)
add='echo -e "'$2'" > '$3';'
add='echo -e "'$2'" >> '$3';'
;;
runinstaller)
add='./install;'
Expand Down

0 comments on commit af83683

Please sign in to comment.