Skip to content

Commit

Permalink
Fix: e-mail address not copying over to the new configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonVanAssche committed Apr 27, 2022
1 parent 28a7fa0 commit f4e68d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ Main() {

case $(GetOldSetting 'version') in
"1.0"| "1.1")
# This fixes a bug where the e-mail address was not copied over to the new config format.
printf '\n' >> "${oldConfig}"

currentEmail="$(GetOldSetting 'email')" || :
currentLocation="$(GetOldSetting 'location')" || :
currentTimer="$(GetOldSetting 'timer')" || :
Expand Down

0 comments on commit f4e68d0

Please sign in to comment.