farhansadik / echominal

This script a simple manager for termux. User can use is in a short way. This script is very helpful for beginners
GNU General Public License v3.0
5 stars 0 forks source link

Legacy Termux #44

Closed farhansadik closed 3 years ago

farhansadik commented 3 years ago

Task add sources mirror link to legacy termux. Source location should in $PREFIX/etc/apt/sources.list.d

For @squaredevops

squaredevops commented 3 years ago

Termux 0.113

u0_a85@localhost  ~  ls $PREFIX/etc/apt/
apt.conf.d  preferences.d  sources.list  sources.list.d  sources.list.dpkg-old  trusted.gpg  trusted.gpg.d

u0_a85@localhost  ~  cat $PREFIX/etc/apt/sources.list
deb https://termux.mentality.rip/termux-main/ stable main

u0_a85@localhost  ~  cat $PREFIX/etc/apt/sources.list.dpkg-old
# The main termux repository:
deb https://termux.org/packages/ stable main
farhansadik commented 3 years ago

@squaredevops Also I need sources.list.d those output

squaredevops commented 3 years ago
u0_a85@localhost  ~  cat $PREFIX/etc/apt/sources.list.d/game.list
deb https://packages.termux.org/apt/termux-games games stable

u0_a85@localhost  ~  cat $PREFIX/etc/apt/sources.list.d/science.list
deb https://packages.termux.org/apt/termux-science science stable
farhansadik commented 3 years ago

@squaredevops thanks for output. I've tested in my legacy version of termux and it worked. Now I'm creating a environment script for this.

farhansadik commented 3 years ago

Patch

  1. patch is deployed for test
  2. I tested this in my machine and it's worked.

Thanks @squaredevops