Skip to content

Commit

Permalink
Carefully unset proxy in apt
Browse files Browse the repository at this point in the history
  • Loading branch information
lokeshh authored Dec 16, 2016
1 parent a78f531 commit c711546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetproxy
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ proxy_apt()
if [ $WIFI_PROXY = "None" ]
then
echo ' -> Clearing apt proxy everywhere ...'
printf "Acquire::http::Proxy \"false\";" > ./.temp_file_apt;
printf "" > ./.temp_file_apt;
else
printf "Acquire::http::Proxy \"$hp_pr\";\nAcquire::https::Proxy \"$hsp_pr\";\nAcquire::ftp::Proxy \"$fp_pr\";\n" > ./.temp_file_apt;
#echo Created apt.conf file
Expand Down

0 comments on commit c711546

Please sign in to comment.