Skip to content

Commit

Permalink
catchall: set previous version in case the install did not
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Dec 28, 2024
1 parent 14339f6 commit b5debdf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/adsb-feeder/filesystem/root/opt/adsb/pre-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ if [[ -f "/opt/adsb/finish-update.done" ]]; then
fi
else
ACTION="initial install of"
if ! [[ -f /opt/adsb/adsb.im.previous-version ]]; then
echo "unknown-install" > /opt/adsb/adsb.im.previous-version
fi
fi

# if we updated from a fairly old version, the feeder-update script will have written
Expand Down

0 comments on commit b5debdf

Please sign in to comment.