mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-23 21:18:07 +00:00
Fix whirlpool variable name causing frequent reinstall
This commit is contained in:
parent
52ab9f6b57
commit
c4eb47d2c4
|
@ -423,7 +423,7 @@ CURRENT=""
|
|||
if [ -f $WHIRLPOOL_VERSION_FILE ]; then
|
||||
CURRENT=$(cat $WHIRLPOOL_VERSION_FILE)
|
||||
fi
|
||||
if [ "$CURRENT" != "$WHIRLPOOL_UPGRADE_URL" ]; then
|
||||
if [ "$CURRENT" != "$WHIRLPOOL_VERSION" ]; then
|
||||
sudo -u bitcoin mkdir -p /opt/mynode/whirlpool
|
||||
cd /opt/mynode/whirlpool
|
||||
sudo rm -rf *.jar
|
||||
|
|
|
@ -516,7 +516,7 @@ CURRENT=""
|
|||
if [ -f $WHIRLPOOL_VERSION_FILE ]; then
|
||||
CURRENT=$(cat $WHIRLPOOL_VERSION_FILE)
|
||||
fi
|
||||
if [ "$CURRENT" != "$WHIRLPOOL_UPGRADE_URL" ]; then
|
||||
if [ "$CURRENT" != "$WHIRLPOOL_VERSION" ]; then
|
||||
sudo -u bitcoin mkdir -p /opt/mynode/whirlpool
|
||||
cd /opt/mynode/whirlpool
|
||||
sudo rm -rf *.jar
|
||||
|
|
Loading…
Reference in New Issue
Block a user