From 447c8ecdbc016f778a590cab524c34c5f6f5de06 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Wed, 2 Sep 2020 20:10:13 -0500 Subject: [PATCH] Fix version tracking of caravan install --- rootfs/standard/usr/bin/mynode_post_upgrade.sh | 2 +- setup/setup_device.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/standard/usr/bin/mynode_post_upgrade.sh b/rootfs/standard/usr/bin/mynode_post_upgrade.sh index 25e94630..659afeec 100755 --- a/rootfs/standard/usr/bin/mynode_post_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_post_upgrade.sh @@ -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 ~ diff --git a/setup/setup_device.sh b/setup/setup_device.sh index 350a8a0a..6d145834 100755 --- a/setup/setup_device.sh +++ b/setup/setup_device.sh @@ -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 ~