225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
|
# File 'lib/sup.rb', line 225
def self.warn_syncback details
$stderr.puts <<EOS
WARNING
-------
#{details}
It is *strongly* recommended that you run "sup-sync-back-maildir"
before continuing, otherwise you might lose changes you have made in sup
to your Xapian index.
This script should be run each time you change the
"sync_back_to_maildir" flag in config.yaml from false to true or
the "sync_back" flag is changed to true for a source in sources.yaml.
Please run "sup-sync-back-maildir -h" for more information and why this
is needed.
Note that if you have any sources that are not marked as 'ususal' in
sources.yaml you need to manually specify them when running the
sup-sync-back-maildir script.
Are you really sure you want to continue? (y/N)
EOS
abort "Aborted" unless STDIN.gets.chomp.downcase == 'y'
end
|