patch-lib_error__page.lua - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
patch-lib_error__page.lua
---
1 $NetBSD$
2
3 Prefer cache_dir instead of data_dir.
4
5 --- lib/error_page.lua.orig 2018-09-22 23:42:41.000000000 +0000
6 +++ lib/error_page.lua
7 @@ -20,7 +20,7 @@ local error_page_wm = require_web_module
8 --- Path to the whitelist of allowed invalid certificates.
9 -- @type string
10 -- @readwrite
11 -_M.cert_db_path = luakit.data_dir .. "/allowed_certificates.db"
12 +_M.cert_db_path = luakit.cache_dir .. "/allowed_certificates.db"
13
14 --- Connect to and initialize the bookmarks database.
15 local function init_cert_db()