[英]debian/rule to remove directory?
I'm writing debian/rules. 我在写debian / rules。 And need to delete specific directories after installation such as
$ rm -rf /usr/lib/mytest/
并且需要在安装后删除特定目录,例如
$ rm -rf /usr/lib/mytest/
I'm refering to this doc But not able to find the way; 我指的是这个文档,但找不到方法;
https://www.debian.org/doc/manuals/maint-guide/dreq.en.html
Can you please guide me? 你能指导我吗?
I found preinst
script way. 我发现了
preinst
脚本方式。 Thanks. 谢谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.