mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
11 lines
372 B
Diff
11 lines
372 B
Diff
--- a/src/doc2dash/doc_set_builder.cr 2023-07-19 14:00:06.864770147 +0300
|
|
+++ b/src/doc2dash/doc_set_builder.cr 2023-07-19 13:59:35.440707740 +0300
|
|
@@ -44,6 +44,7 @@
|
|
real_dest = @html_dest.join(dest || source)
|
|
Dir.mkdir_p(Path.new(real_dest).dirname)
|
|
File.copy(original, real_dest)
|
|
+ File.chmod(real_dest, 0o600)
|
|
dest || source
|
|
end
|
|
|