File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/src/main/java/com/termux/app Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,14 +139,14 @@ private static boolean shouldAddLdLibraryPath() {
139
139
try (BufferedReader in = new BufferedReader (new InputStreamReader (new FileInputStream (TermuxService .PREFIX_PATH + "/etc/apt/sources.list" )))) {
140
140
String line ;
141
141
while ((line = in .readLine ()) != null ) {
142
- if (!line .startsWith ("#" ) && line .contains ("https://dl.bintray.com/ termux/termux-packages-24 " )) {
143
- return false ;
142
+ if (!line .startsWith ("#" ) && line .contains ("// termux.net stable " )) {
143
+ return true ;
144
144
}
145
145
}
146
146
} catch (IOException e ) {
147
147
Log .e (LOG_TAG , "Error trying to read sources.list" , e );
148
148
}
149
- return true ;
149
+ return false ;
150
150
}
151
151
152
152
public static int getPid (Process p ) {
You can’t perform that action at this time.
0 commit comments