Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpm config files can and should contain attributes #484

Merged
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

rpm config files can and should contain attributes

  • Loading branch information
Adam Stephens
Adam Stephens committed Jul 5, 2013
commit 03c9769467c4c0d69ad36e79fbf8096039f4540d
@@ -145,7 +145,7 @@ cp <%= source_safe %> <%= target_safe %>
%defattr(<%= attributes[:rpm_defattrfile] %>,<%= attributes[:rpm_user] %>,<%= attributes[:rpm_group] %>,<%= attributes[:rpm_defattrdir] %>)
<%# Output config files and then regular files. -%>
<% config_files.each do |path| -%>
%config(noreplace) <%= rpm_fix_name(path) %>
%config(noreplace) <%= rpm_file_entry(path) %>
<% end -%>
<%# list directories %>
<% directories.each do |path| -%>
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.