termux-packages/packages/python-tldp/tldp-config.py.patch

12 lines
268 B
Diff

--- a/tldp/config.py
+++ b/tldp/config.py
@@ -17,7 +17,7 @@
logger = logging.getLogger(__name__)
-DEFAULT_CONFIGFILE = '/etc/ldptool/ldptool.ini'
+DEFAULT_CONFIGFILE = '@TERMUX_PREFIX@/etc/ldptool/ldptool.ini'
class DirectoriesExist(argparse._AppendAction):