mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
[fix] yum.conf proxy should not contain quotes
This commit is contained in:
@@ -1478,7 +1478,7 @@ use_proxy() {
|
|||||||
|
|
||||||
if [[ $OS == 'centos' ]]; then
|
if [[ $OS == 'centos' ]]; then
|
||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
"proxy=\"$proxy_addr\"" >> /etc/yum.conf
|
"proxy=$proxy_addr" >> /etc/yum.conf
|
||||||
else
|
else
|
||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
"Acquire {"\
|
"Acquire {"\
|
||||||
|
|||||||
Reference in New Issue
Block a user