preinst revision 6330
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington# Pre installation script
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington# Only if the instance has been configured
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington if [ -f @prefix@/config/buildinfo ] && [ "$(ls -A @prefix@/config/archived-configs)" ]
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington# If the server is running before upgrade, creates a flag.
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington echo "Instance is not configured. Upgrade aborded."
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington# End of the pre installation script