Override the header template to remove the Roboto font

Using the system font instead
This commit is contained in:
Greg Karékinian
2020-07-30 12:33:09 +02:00
parent 924f67d8a8
commit 41fd1576ad
2 changed files with 14 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ directory working_directory do
mode "0750"
end
%w(custom custom/options custom/options/label).each do |path|
%w(custom custom/options custom/options/label custom/templates custom/templates/custom).each do |path|
directory "#{working_directory}/#{path}" do
owner "git"
group "git"
@@ -70,6 +70,16 @@ cookbook_file "#{working_directory}/custom/options/label/Kosmos" do
owner "git"
group "git"
mode "0640"
notifies :restart, "service[gitea]", :delayed
end
# Kosmos header template
cookbook_file "#{working_directory}/custom/templates/custom/header.tmpl" do
source "custom/templates/custom/header.tmpl"
owner "git"
group "git"
mode "0640"
notifies :restart, "service[gitea]", :delayed
end
directory config_directory do