centreon-plugins/connectors/vmware/packaging/scripts/postinstall.sh

8 lines
190 B
Bash

#!/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