Fix error "File contains no section headers." when creating test config.
This commit is contained in:
3
setup.sh
3
setup.sh
@@ -140,6 +140,7 @@ if [[ -n "$create_general" && ! -f "$general_config" ]]; then
|
||||
function print_general_contents {
|
||||
cat <<- EOF
|
||||
; TEST DATA
|
||||
[global]
|
||||
enable=true
|
||||
user=test
|
||||
user_desc=Test
|
||||
@@ -154,6 +155,7 @@ if [[ -n "$create_workstation" && ! -f "$workstation_config" ]]; then
|
||||
function print_workstation_contents {
|
||||
cat <<- EOF
|
||||
; TEST DATA
|
||||
[global]
|
||||
enable=true
|
||||
coding=true
|
||||
editing=false
|
||||
@@ -168,6 +170,7 @@ if [[ -n "$create_server" && ! -f "$server_config" ]]; then
|
||||
function print_server_contents {
|
||||
cat <<- EOF
|
||||
; TEST DATA
|
||||
[global]
|
||||
enable=true
|
||||
; TEST DATA
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user