/usr/bin/sup-psych-ify-config-files is in sup-mail 0.22.1-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/usr/bin/ruby
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
require "sup"
require "fileutils"
if RUBY_VERSION >= "2.1"
puts "YAML migration is deprecated by Ruby 2.1 and newer."
exit
end
Redwood.start
fn = Redwood::SOURCE_FN
FileUtils.cp fn, "#{fn}.syck_bak"
Redwood::SourceManager.load_sources fn
Redwood::SourceManager.save_sources fn, true
Redwood.finish
|