a22fa0c977
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> |
||
---|---|---|
.. | ||
hpkg | ||
solver | ||
AddRepositoryRequest.h | ||
Attributes.h | ||
CommitTransactionResult.h | ||
Context.h | ||
DownloadFileRequest.h | ||
DropRepositoryRequest.h | ||
GlobalWritableFileInfo.h | ||
InstallationLocationInfo.h | ||
Job.h | ||
PackageArchitecture.h | ||
PackageDefs.h | ||
PackageFlags.h | ||
PackageInfo.h | ||
PackageInfoAttributes.h | ||
PackageInfoContentHandler.h | ||
PackageInfoSet.h | ||
PackageResolvable.h | ||
PackageResolvableExpression.h | ||
PackageResolvableOperator.h | ||
PackageRoster.h | ||
PackageVersion.h | ||
RefreshRepositoryRequest.h | ||
RepositoryCache.h | ||
RepositoryConfig.h | ||
RepositoryInfo.h | ||
Request.h | ||
User.h | ||
UserSettingsFileInfo.h | ||
WritableFileUpdateType.h |