接前一篇文章:selinux-policy-default(2:2.20231119-2)软件包内容详细介绍(1)
4. 重点文件内容解析
(1)control/postist文件
文件内容如下:
#!/bin/sh
set -e# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# &