termux-packages/packages/nala/nala-__init__.py.patch

16 lines
405 B
Diff

--- a/nala/__init__.py
+++ b/nala/__init__.py
@@ -30,9 +30,9 @@
# ROOT = "@TERMUX_PREFIX@"
# USR = "@TERMUX_PREFIX@"
# TERMUX = True
-ROOT = ""
-USR = "/usr"
-TERMUX = False
+ROOT = "@TERMUX_PREFIX@"
+USR = "@TERMUX_PREFIX@"
+TERMUX = True
# Before we import anything else we need to make sure that this is in our path
# Else apt_pkg will give an import error. Conda is an example of this breaking