postinst revision 6279
394N/A# Install is launched with an empty second arg. 394N/A# If the package is already installed, 394N/A# the second arg. is not empty. 394N/A# In this case, we are in upgrade mode. 394N/Aif [
"$1" =
"configure" ] && [ ! -z
"$2" ]
394N/A# For being secure, we check the buildinfo file too. 394N/A# Upgrade fails - Requires mandatory user interaction. 394N/A# Nevertheless, exits successfully of the pkg process. 394N/A# Restarts the service if needed. 394N/A# If server is stopped by upgrade process, 394N/A# the server will restart after upgrade. 394N/A# If server is stopped before the upgrade process 394N/A# (eg. upgrade the new package), the server will not restart. 394N/A# Uses the flag for determining server status at this point. 394N/A echo "*Restarting server..." 3778N/A# Invalid installation, could not find the buildinfo file.