开发者

Installing an empty directory with RPM

开发者 https://www.devze.com 2023-01-08 15:19 出处:网络
In my install section of my rpm Spec file I h开发者_StackOverflowave a bunch of mkdir\'s to create the directories I need. The ones that don\'t have any files installed in them get pruned out in the e

In my install section of my rpm Spec file I h开发者_StackOverflowave a bunch of mkdir's to create the directories I need. The ones that don't have any files installed in them get pruned out in the end and don't end up getting created. How can I ensure that the empty directories get created when it is all said and done?


In your %files section:

%files
%dir /my/directory/name
0

精彩评论

暂无评论...
验证码 换一张
取 消