0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 03:00:31 +00:00
termux-packages/packages/hilbish/fix-hardcoded-path.patch
2024-10-31 07:10:56 +02:00

11 lines
421 B
Diff

+++ ./vars_unix.go
@@ -14,7 +14,7 @@
.. hilbish.userDir.config .. '/hilbish/?/init.lua;'
.. hilbish.userDir.config .. '/hilbish/?/?.lua;'
.. hilbish.userDir.config .. '/hilbish/?.lua'`
- dataDir = "/usr/local/share/hilbish"
+ dataDir = "@TERMUX_PREFIX@/share/hilbish"
preloadPath = dataDir + "/nature/init.lua"
sampleConfPath = dataDir + "/.hilbishrc.lua" // Path to default/sample config
defaultConfDir = ""