Files
zulip/scripts/lib/ruby3hack.rb
Anders Kaseorg 3bc1ad05f7 zulip-puppet-apply: Work around broken Puppet on Ubuntu 22.04.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 25c87cc7da)
2022-05-16 12:05:23 -07:00

8 lines
209 B
Ruby

# Work around https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1969939.
require 'fileutils'
def FileUtils.symlink(src, dest, options = {}, **kwargs)
FileUtils.ln_s(src, dest, **options, **kwargs)
end