patch-lib_history.lua - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
patch-lib_history.lua
---
1 $NetBSD$
2
3 Prefer cache_dir instead of data_dir.
4
5 --- lib/history.lua.orig 2018-09-22 23:42:41.000000000 +0000
6 +++ lib/history.lua
7 @@ -16,7 +16,7 @@ local _M = {}
8
9 --- Path to history database.
10 -- @readwrite
11 -_M.db_path = luakit.data_dir .. "/history.db"
12 +_M.db_path = luakit.cache_dir .. "/history.db"
13
14 local query_find_last
15 local query_insert