local FF i FileName DB                          &&
# new install script from here on

  cd buildroot/${INSTALL_ROOT}/$PREFIX		&&
# preserve some existing files
  for FF in `ls security.fdb firebird.conf aliases.conf bin/*.sh`; do
    if [ -f $PREFIX/$FF ];then
      echo preserving file $FF
      rm $FF
    fi
  done						&&
  
  cd $OLDPWD/buildroot/${INSTALL_ROOT}	&&

  cp -rd * ${INSTALL_ROOT}/  			&&

  cd $PREFIX/lib                                &&

# make a symlink for use by old programs
  ln -sf libfbclient.so libgds.so		&&
  cd ..
