Skip to content

Commit 26ab0b3

Browse files
committed
Add replaces/conflicts on openvoxdb-termini package
1 parent 7f542e8 commit 26ab0b3

File tree

1 file changed

+7
-0
lines changed
  • resources/puppetlabs/lein-ezbake/template/global/ext

1 file changed

+7
-0
lines changed

resources/puppetlabs/lein-ezbake/template/global/ext/fpm.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,13 @@
380380
end
381381
end
382382

383+
# This is kludgy. Make it better one of these days for any package
384+
# that has a corresponding termini package.
385+
if options.name == "openvoxdb"
386+
termini_opts << "--replaces 'puppetdb-termini'"
387+
termini_opts << "--conflicts 'puppetdb-termini'"
388+
end
389+
383390
if options.is_pe
384391
fpm_opts << "--depends pe-java"
385392
fpm_opts << "--depends pe-puppet-enterprise-release"

0 commit comments

Comments
 (0)