Skip to content

Commit

Permalink
Prefer updated configs
Browse files Browse the repository at this point in the history
  • Loading branch information
nahuhh authored Jun 26, 2022
1 parent 2b648ef commit b9a8d77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/install-monerod-in-termux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ sleep 1
# Check for existing Config
if [ -e config.txt ]
then
DEL=$(termux-dialog radio -t "Existing configuration found" -v "Update,Keep Existing" | jq '.text')
if [ "$DEL" != '"Update"' ]
DEL=$(termux-dialog radio -t "Existing configuration found" -v "Keep Existing,Update (Recommended)" | jq '.text')
if [ "$DEL" = '"Keep Existing"' ]
then
echo "Keep existing config file.\n Updating data-dir flag"
cp config.txt config.old
Expand Down

0 comments on commit b9a8d77

Please sign in to comment.