require 'flydata/source/setup' require 'flydata/sync_file_manager' module Flydata module SourceOracle class Setup < Source::Setup def initial_run_need_restart? overinstall? end def initial_run_complete_message overinstall? ? :all_done : :initial_sync end private def overinstall? File.exists?(Flydata::SyncFileManager.new(de).source_pos_path) end end end end