Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for capitalised proxy environment variables #25

Merged
merged 4 commits into from
Jun 23, 2017

Conversation

skulltech
Copy link
Contributor

Fixes #22

Modified files

  • environment.sh
  • bash.sh

@skulltech
Copy link
Contributor Author

Any updates @himanshub16 ?

Copy link
Owner

@himanshub16 himanshub16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍
I was consumed with my day work. So couldn't reply.
Please make the necessary changes for list_proxy as well.
You can use grep -i for case-insensitive grep.

@skulltech
Copy link
Contributor Author

Done. Used case-insensitive grep in the list_proxy functions.

Copy link
Owner

@himanshub16 himanshub16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. There's a minor statement I've pointed out. Looks good to me.

apt.sh Outdated
@@ -54,7 +54,6 @@ list_proxy() {
if [ "$lines" -gt 0 ]; then
cat /etc/apt/apt.conf | grep proxy -i | sed -e "s/Acquire//g" -e "s/\:\:/\ /g" -e "s/\;//g"
else
echo -e "\e[36m None \e[0m"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this missing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must have been a mistake. I did it in a hurry and maybe that's why. I'll fix it.

@himanshub16
Copy link
Owner

Thanks for your contributions. 👍
I'll test it once and revert you back to you.

@himanshub16 himanshub16 merged commit 0e6c964 into himanshub16:master Jun 23, 2017
@skulltech skulltech deleted the capitalised-envs branch June 23, 2017 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants