1 --- ../cache/apt-1.4.7/cmdline/apt-key.in 2017-07-14 07:45:39.000000000 +1000
2 +++ ./cmdline/apt-key.in 2017-07-19 17:43:09.131197161 +1000
4 aptkey_echo() { echo "$@"; }
7 - if [ "$(id -u)" -ne 0 ]; then
8 - apt_error "This command can only be used by root."
16 if accessible_file_exists "$TRUSTEDFILE"; then
17 $ACTION "$TRUSTEDFILE" "$@"
19 - local TRUSTEDPARTS="/etc/apt/trusted.gpg.d"
20 + local TRUSTEDPARTS="/data/data/com.termux/files/usr/etc/apt/trusted.gpg.d"
21 eval "$(apt-config shell TRUSTEDPARTS Dir::Etc::TrustedParts/d)"
22 if [ -d "$TRUSTEDPARTS" ]; then
23 TRUSTEDPARTS="$(readlink -f "$TRUSTEDPARTS")"
27 if [ -z "$TRUSTEDFILE" ]; then
28 - TRUSTEDFILE="/etc/apt/trusted.gpg"
29 + TRUSTEDFILE="/data/data/com.termux/files/usr/etc/apt/trusted.gpg"
30 eval $(apt-config shell TRUSTEDFILE Apt::GPGV::TrustedKeyring)
31 eval $(apt-config shell TRUSTEDFILE Dir::Etc::Trusted/f)