Currently in /var/aecu-installhook/<package-path-of-script> there is a simple date property maintained with name executed to decide if the script has been executed before.
That one does not take into account modifications on the groovy script itself, i.e. even if the groovy script has been modified it will not re-execute it.
It would be good to store a hash of the script which was executed and only skip execution if it was executed before with the same hash.
Currently in
/var/aecu-installhook/<package-path-of-script>
there is a simple date property maintained with nameexecuted
to decide if the script has been executed before. That one does not take into account modifications on the groovy script itself, i.e. even if the groovy script has been modified it will not re-execute it. It would be good to store a hash of the script which was executed and only skip execution if it was executed before with the same hash.