You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mingcong Bai edited this page Jan 1, 2017
·
2 revisions
Scriptlets
As a packaging tool, it is essential for Autobuild3 to be able to handle package
manager scriptlets. Scriptlets are scripts used by package managers to perform
post-installation, pre-installation, post-removal, and pre-removal
(configuration) actions - sometimes essential for a software package to work.
Defining scriptlets using Autobuild3 is as simple as:
autobuild/postinst - Post-installation script.
autobuild/preinst - Pre-installation script.
autobuild/postrm - Post-removal script.
autobuild/prerm - Pre-removal script.
These files contains contents of the scripts, and will be sourced as Unix Shell
scripts by package managers. You don't have to include She-Bang in the files.