Create empty fonts directory in USERDIR
This commit is contained in:
parent
f2721e8ea4
commit
76b463bd11
|
@ -233,7 +233,7 @@ local function create_user_directory()
|
||||||
error("cannot create directory: \"" .. dirname_create .. "\"")
|
error("cannot create directory: \"" .. dirname_create .. "\"")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
for _, modname in ipairs {'plugins', 'colors'} do
|
for _, modname in ipairs {'plugins', 'colors', 'fonts'} do
|
||||||
local subdirname = dirname_create .. '/' .. modname
|
local subdirname = dirname_create .. '/' .. modname
|
||||||
if not system.mkdir(subdirname) then
|
if not system.mkdir(subdirname) then
|
||||||
error("cannot create directory: \"" .. subdirname .. "\"")
|
error("cannot create directory: \"" .. subdirname .. "\"")
|
||||||
|
|
Loading…
Reference in New Issue