Skip to content

Commit

Permalink
Added get-proxy subcommand.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou1okada committed Apr 6, 2018
1 parent e5eec73 commit 709db4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apt-cyg
Expand Up @@ -98,6 +98,7 @@ function usage()
echo " \"apt-cyg download\" download the binary package into the current directory."
echo " \"apt-cyg mirror\" download the binary package into the current cache/mirrordir as mirror."
echo " \"apt-cyg listfiles\" List files 'owned' by package(s)."
echo " \"apt-cyg get-proxy\" Get proxies for eval."
echo "Options:"
echo " --ag : use the silver searcher (currently work only at packageof subcommand)"
echo " --charch <arch> : change archetecture"
Expand Down Expand Up @@ -605,6 +606,11 @@ function proxy_setup ()
esac
}

function apt-cyg-get-proxy ()
{
declare -p ftp_proxy http_proxy https_proxy
}

# Usage: get_pkgname PKGFILE
function get_pkgname ()
{
Expand Down

0 comments on commit 709db4f

Please sign in to comment.