mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 22:42:40 +08:00
we need to fix permissions
This commit is contained in:
parent
935c9343e4
commit
fe1ebee791
|
@ -111,7 +111,8 @@ end
|
||||||
def brotli(path)
|
def brotli(path)
|
||||||
if ENV['COMPRESS_BROTLI']
|
if ENV['COMPRESS_BROTLI']
|
||||||
STDERR.puts "brotli #{path}"
|
STDERR.puts "brotli #{path}"
|
||||||
STDERR.puts `brotli --quality 11 --input #{path} --output #{path}.bl`
|
STDERR.puts `brotli --quality 11 --input #{path} --output #{path}.br`
|
||||||
|
STDERR.puts `chmod +r #{path}.br`
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user