Skip to content

Commit af83683

Browse files
committed
Ensure install.conf.yaml isn't overwritten
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.
1 parent d2377d4 commit af83683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easy_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ appendshell() {
3232
add="mv $2 $3;"
3333
;;
3434
echoconfig)
35-
add='echo -e "'$2'" > '$3';'
35+
add='echo -e "'$2'" >> '$3';'
3636
;;
3737
runinstaller)
3838
add='./install;'

0 commit comments

Comments
 (0)