Create empty fonts directory in USERDIR

This commit is contained in:
Francesco Abbate 2021-02-19 16:10:02 +01:00
parent f2721e8ea4
commit 76b463bd11
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ local function create_user_directory()
error("cannot create directory: \"" .. dirname_create .. "\"")
end
end
for _, modname in ipairs {'plugins', 'colors'} do
for _, modname in ipairs {'plugins', 'colors', 'fonts'} do
local subdirname = dirname_create .. '/' .. modname
if not system.mkdir(subdirname) then
error("cannot create directory: \"" .. subdirname .. "\"")