Fix version tracking of caravan install

This commit is contained in:
Taylor Helsper 2020-09-02 20:10:13 -05:00
parent 6749041485
commit 447c8ecdbc
2 changed files with 2 additions and 2 deletions

View File

@ -332,7 +332,7 @@ if [ "$CURRENT" != "$CARAVAN_VERSION" ] || [ ! -f $CARAVAN_SETTINGS_UPDATE_FILE
cd caravan
sudo -u bitcoin npm install --only=production
echo $CARAVAN_UPGRADE_URL > $CARAVAN_VERSION_FILE
echo $CARAVAN_VERSION > $CARAVAN_VERSION_FILE
touch $CARAVAN_SETTINGS_UPDATE_FILE
fi
cd ~

View File

@ -423,7 +423,7 @@ if [ "$CURRENT" != "$CARAVAN_VERSION" ]; then
cd caravan
sudo -u bitcoin npm install --only=production
echo $CARAVAN_UPGRADE_URL > $CARAVAN_VERSION_FILE
echo $CARAVAN_VERSION > $CARAVAN_VERSION_FILE
fi
cd ~