mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 08:04:36 +02:00
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"
|
- src: "config/centreon_vmware-conf.pm"
|
||||||
dst: "/etc/centreon/centreon_vmware.pm"
|
dst: "/etc/centreon/centreon_vmware.pm"
|
||||||
type: config|noreplace
|
type: config|noreplace
|
||||||
|
packager: rpm
|
||||||
|
- src: "config/centreon_vmware-conf.pm"
|
||||||
|
dst: "/etc/centreon/centreon_vmware.pm.new"
|
||||||
|
packager: deb
|
||||||
|
|
||||||
overrides:
|
overrides:
|
||||||
rpm:
|
rpm:
|
||||||
|
7
connectors/vmware/packaging/scripts/postinstall.sh
Normal file
7
connectors/vmware/packaging/scripts/postinstall.sh
Normal file
@ -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
|
- libnet-smtp-ssl-perl
|
||||||
- libsoap-lite-perl
|
- libsoap-lite-perl
|
||||||
- libtext-template-perl
|
- libtext-template-perl
|
||||||
|
- libxml-libxml-perl
|
||||||
|
|
||||||
rpm:
|
rpm:
|
||||||
compression: zstd
|
compression: zstd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user