[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 维护脚本执行顺序一问?



肖盛文(Faris Xiao) wrote:

>deb 软件包在安装的时候,需要执行
>preinst、postinst、prerm、postrm 维护脚本,
>
>我现在想知道,这四个脚本在软件包安装的时候,执行的先后顺序是怎么样的?
>以 pre 开头的文件比以 pos 开头的文件先执行吧?
>但是是 rm 的先执行还是 inst 的先执行呢?
>
>
>我看了一下文档,没有找到相关的说明。
>  
>
http://women.alioth.debian.org/wiki/index.php/English/MaintainerScripts

>谢谢回复!
>
>
>
>  
>




Reply to: