上海網(wǎng)站建設(shè)價(jià)格表加強(qiáng)服務(wù)保障滿足群眾急需m
接前一篇文章:selinux-policy-default(2:2.20231119-2)軟件包內(nèi)容詳細(xì)介紹(4)
4. 重點(diǎn)文件內(nèi)容解析
(1)control/postist文件
上一回解析了control/postinst文件的部分內(nèi)容,本回繼續(xù)往下解析。為了便于理解,再次貼出postinst完整代碼:
#!/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'
# <fail