Skip to content

Commit

Permalink
Merge pull request #401 from liberland/install-script-hotfix
Browse files Browse the repository at this point in the history
Install script - preserve existing keys
  • Loading branch information
kacperzuk-neti authored Jul 15, 2024
2 parents 1b2b8d1 + 0518142 commit af7d465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/scripts/install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fi
node_url="$(jq -r ".assets[] | select(.name == \"linux_x86_build\") | .browser_download_url" < $release_info)"
rm $release_info

if [ -n "$(ls -A /opt/liberland/data/chains &>/dev/null)" ]; then
if [ -n "$(ls -A /opt/liberland/data/chains 2>/dev/null)" ]; then
keychain_exists=1
else
keychain_exists=0
Expand Down

0 comments on commit af7d465

Please sign in to comment.