DEV: Remove the symlinking message (#31745)

we don't need it at all
This commit is contained in:
Jarek Radosz
2025-03-11 13:36:35 +01:00
committed by GitHub
parent 5d09300867
commit 14fe567bc6
-1
View File
@@ -228,7 +228,6 @@ module Discourse
# Use discourse-fonts gem to symlink fonts and generate .scss file
fonts_path = File.join(config.root, "public/fonts")
if !File.exist?(fonts_path) || File.realpath(fonts_path) != DiscourseFonts.path_for_fonts
STDOUT.puts "Symlinking fonts from discourse-fonts gem"
File.delete(fonts_path) if File.exist?(fonts_path)
Discourse::Utils.atomic_ln_s(DiscourseFonts.path_for_fonts, fonts_path)
end