How to check if current update file has already been installed on target?

I want to run a script to install a .update file, but only if there have been any changes. Is there a way to check before installing that the current update file has not already been installed on the target?

Hi Paul,
Please see if le_appInfo API (None - Legato Docs) useful, it can check is the app installed and the state/hash info.

But seems not possible to read the .update file content.
However, during app install, Legato framework does check automatically whether the app is installed, if the same app version is installed, it will discard and not re-install it.

Hope it helps.
Thx