Fix version tracking of caravan install
This commit is contained in:
parent
6749041485
commit
447c8ecdbc
|
@ -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 ~
|
||||
|
|
|
@ -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 ~
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user