mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-06 17:11:09 +01:00
Do not set LD_LIBRARY_PATH by default
See https://github.com/termux/termux-app/issues/1286
This commit is contained in:
parent
08b08d1c47
commit
c0a0822843
1 changed files with 3 additions and 3 deletions
|
|
@ -139,14 +139,14 @@ public final class BackgroundJob {
|
|||
try (BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(TermuxService.PREFIX_PATH + "/etc/apt/sources.list")))) {
|
||||
String line;
|
||||
while ((line = in.readLine()) != null) {
|
||||
if (!line.startsWith("#") && line.contains("https://dl.bintray.com/termux/termux-packages-24")) {
|
||||
return false;
|
||||
if (!line.startsWith("#") && line.contains("//termux.net stable")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
Log.e(LOG_TAG, "Error trying to read sources.list", e);
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
public static int getPid(Process p) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue