fix(packaging): manage properle vmware config ile
This commit is contained in:
parent
62a4ab9885
commit
ac0823634d
|
@ -65,6 +65,10 @@ contents:
|
|||
- src: "config/centreon_vmware-conf.pm"
|
||||
dst: "/etc/centreon/centreon_vmware.pm"
|
||||
type: config|noreplace
|
||||
packager: rpm
|
||||
- src: "config/centreon_vmware-conf.pm"
|
||||
dst: "/etc/centreon/centreon_vmware.pm.new"
|
||||
packager: deb
|
||||
|
||||
overrides:
|
||||
rpm:
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$1" = "configure" ]; then # deb
|
||||
if [ ! -f "/etc/centreon/centreon_vmware.pm" ]; then
|
||||
mv /etc/centreon/centreon_vmware.pm.new /etc/centreon/centreon_vmware.pm
|
||||
fi
|
||||
fi
|
|
@ -58,6 +58,7 @@ overrides:
|
|||
- libnet-smtp-ssl-perl
|
||||
- libsoap-lite-perl
|
||||
- libtext-template-perl
|
||||
- libxml-libxml-perl
|
||||
|
||||
rpm:
|
||||
compression: zstd
|
||||
|
|
Loading…
Reference in New Issue