slapos.cookbook: Fix publish_failsafe
Do not return installed files in order to avoid endless Uninstall/Install of the part and instead use the uninstall hook to handle the file when part is uinstalled. Also re-install during update if there was a problem with publishing during install; note that checking for file presence on each update is very fast, so the speed gain is preserved.
Showing
Please register or sign in to comment