Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 rpm Spec 文件的安装部分中,我有一堆 mkdir 来创建我需要的目录。那些没有安装任何文件的文件最终会被删除,并且最终不会被创建。我怎样才能确保在一切都说完之后创建空目录?
在您的 %files 部分:
%个文件 %dir /我的/目录/名称