-
Notifications
You must be signed in to change notification settings - Fork 111
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
Conversation
Any updates @himanshub16 ? |
There was a problem hiding this 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.
Done. Used case-insensitive |
There was a problem hiding this 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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this missing?
There was a problem hiding this comment.
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.
Thanks for your contributions. 👍 |
Fixes #22
Modified files
environment.sh
bash.sh