Skip to content

Commit

Permalink
remove previous attempt to track initial installs
Browse files Browse the repository at this point in the history
The 'previous version' approach works much better.

Signed-off-by: Dirk Hohndel <[email protected]>
  • Loading branch information
dirkhh committed Dec 27, 2024
1 parent 9dd7aba commit 14339f6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,6 @@ def pack_im(self) -> str:
"cv": self.agg_matrix,
}
if self._d.env_by_tags("initial_version").value == "":
if pathlib.Path("/opt/adsb/initial_install").exists():
pathlib.Path("/opt/adsb/initial_install").unlink()
image["iv"] = "1"
self._d.env_by_tags("initial_version").value == self._d.env_by_tags("base_version").value
return b64encode(compress(pickle.dumps(image))).decode("utf-8")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ if [[ -f "/opt/adsb/finish-update.done" ]]; then
fi
else
ACTION="initial install of"
touch /opt/adsb/initial_install
fi

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

0 comments on commit 14339f6

Please sign in to comment.