haiku/headers/os/package/hpkg
Alexander G. M. Smith a22fa0c977 package kit: Add pre-uninstall scripts feature.
Just like post-install scripts which run shortly after a package is
installed, pre-uninstall scripts are run just before a package is
removed.  Implements enhancement #13427

* Fix script exit code handling vs script launch errors.
* Bump package and repo file version numbers due to new attribute,
  unfortunately makes new .hpkg files not backwards compatible.
* Add pre-uninstall functionality, mostly cloning the post-install
  except in a few places.
* Discover that _RunQueuedScripts() is never called, a future TODO:?
* Update package documentation for pre-uninstall scripts, and use of
  the boot/post-install directory.

Change-Id: I45596255ce74bc102f6e5b606cbf83e4e4347a17
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1504
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-09-21 10:47:57 +00:00
..
v1
BlockBufferPool.h
BlockBufferPoolNoLock.h
BufferPool.h
DataReader.h
ErrorOutput.h
HPKGDefs.h
NoErrorOutput.h
PackageAttributes.h
PackageAttributeValue.h
PackageContentHandler.h
PackageData.h
PackageDataReader.h
PackageEntry.h
PackageEntryAttribute.h
PackageInfoAttributeValue.h
PackageReader.h
PackageWriter.h
RepositoryContentHandler.h
RepositoryReader.h
RepositoryWriter.h
StandardErrorOutput.h