Skip to content

Commit

Permalink
If block to check if variable databaseToken is empty removed. We use …
Browse files Browse the repository at this point in the history
…the character \n to initializate the variable databaseToken instead of the if block
  • Loading branch information
esgg committed May 7, 2024
1 parent 28b8bc8 commit d6ede0d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,10 @@ bucket=""
#database Organisation
org=""
#database Token
databaseToken=""
databaseToken="\n"
#######################
echo -e "${token}\n\n\n\n\n" | somef configure
#
if [ -z "$databaseToken" ]; then
databaseToken="\n"
fi
echo "${databaseToken}"
socaCnf="${host}\n${bucket}\n${org}\n${databaseToken}\n"
echo -e "${socaCnf}" | soca configure



echo -e "${socaCnf}" | soca configure

0 comments on commit d6ede0d

Please sign in to comment.