Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | diff -u -r ../upstream.git/apt-pkg/init.cc ./apt-pkg/init.cc |
2 | --- ../upstream.git/apt-pkg/init.cc 2014-05-05 14:01:59.000000000 +0200 | |
3 | +++ ./apt-pkg/init.cc 2014-06-04 13:57:49.848604233 +0200 | |
4 | @@ -44,7 +44,8 @@ | |
5 | Cnf.Set("APT::Build-Essential::", "build-essential"); | |
6 | Cnf.CndSet("APT::Install-Recommends", true); | |
7 | Cnf.CndSet("APT::Install-Suggests", false); | |
8 | - Cnf.CndSet("Dir","/"); | |
9 | + Cnf.CndSet("Dir","@TERMUX_PREFIX@/"); | |
10 | + Cnf.CndSet("Acquire::Languages", "none"); | |
11 | ||
12 | // State | |
13 | Cnf.CndSet("Dir::State","var/lib/apt/"); | |
14 | @@ -71,9 +72,9 @@ | |
15 | Cnf.CndSet("Dir::Etc::preferencesparts","preferences.d"); | |
16 | Cnf.CndSet("Dir::Etc::trusted", "trusted.gpg"); | |
17 | Cnf.CndSet("Dir::Etc::trustedparts","trusted.gpg.d"); | |
18 | - Cnf.CndSet("Dir::Bin::methods","/usr/lib/apt/methods"); | |
19 | - Cnf.CndSet("Dir::Bin::solvers::","/usr/lib/apt/solvers"); | |
20 | - Cnf.CndSet("Dir::Media::MountPath","/media/apt"); | |
21 | + Cnf.CndSet("Dir::Bin::methods","lib/apt/methods"); | |
22 | + Cnf.CndSet("Dir::Bin::solvers::","lib/apt/solvers"); | |
23 | + Cnf.CndSet("Dir::Media::MountPath","media/apt"); | |
24 | ||
25 | // State | |
26 | Cnf.CndSet("Dir::Log","var/log/apt"); |