haiku/headers/os/package
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
..
hpkg package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
solver
AddRepositoryRequest.h
Attributes.h
CommitTransactionResult.h package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
Context.h
DownloadFileRequest.h
DropRepositoryRequest.h
GlobalWritableFileInfo.h
InstallationLocationInfo.h
Job.h
PackageArchitecture.h
PackageDefs.h
PackageFlags.h
PackageInfo.h package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
PackageInfoAttributes.h package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
PackageInfoContentHandler.h
PackageInfoSet.h
PackageResolvable.h
PackageResolvableExpression.h
PackageResolvableOperator.h
PackageRoster.h HaikuDepot: Set package state when loading single package 2019-08-08 07:09:35 +00:00
PackageVersion.h
RefreshRepositoryRequest.h
RepositoryCache.h
RepositoryConfig.h Package Kit: reduce identifer/base-url confusion 2020-05-09 20:04:50 +00:00
RepositoryInfo.h Package Kit: reduce identifer/base-url confusion 2020-05-09 20:04:50 +00:00
Request.h
User.h
UserSettingsFileInfo.h
WritableFileUpdateType.h