cat <<EOF
 Classic Server install needs services and xinet.d
 Super Server install needs init.d

 Before updating firebird, it is recommended that you save the security database

 After installing firebird, you should change the default password for the SYSDBA user
 by means of the script /usr/firebird/bin/changeDBAPassword.sh
EOF
config_query_list FB_VER "which version to build?" stable devel

# warn of major changes
if spell_ok firebird;then
  FB_PREV=`installed_version firebird | cut -d. -f-2`
  if [ $FB_PREV = 1.5 ] && [ $FB_VER != stable ];then
    cat <<EOF
        Firebird 2 includes ODS changes. So, backup anything you want to keep, using gbak, 
        before uninstalling a previous Firebird version
        
        There are major changes regarding the security database in this new version
        please make a copy of the existing security database /usr/firebird/security.fdb
        before proceeding.
        after installing firebird2, read the instructions in
        /usr/firebird/upgrade/security_database.txt
EOF
  fi
fi

