Changeset 2234 in ProjectBuilder for devel/rpmbootstrap
- Timestamp:
- Jun 27, 2017, 3:32:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/rpmbootstrap/bin/rpmbootstrap
r2032 r2234 585 585 # 586 586 $pbos->{'install'} =~ s/sudo//g; 587 if (((defined $ENV{http_proxy}) && ($ENV{http_proxy} ne '')) || ((defined $ENV{ ftp_proxy}) && ($ENV{ftp_proxy} ne ''))) {587 if (((defined $ENV{http_proxy}) && ($ENV{http_proxy} ne '')) || ((defined $ENV{https_proxy}) && ($ENV{https_proxy} ne '')) || ((defined $ENV{ftp_proxy}) && ($ENV{ftp_proxy} ne ''))) { 588 588 if ($pbos->{'name'} eq "opensuse") { 589 589 # For opensuse 11.4 or 12.1 -- one of them didn't work with http_proxy or HTTP_PROXY set. 590 590 open(PROXY, "> $vepath/etc/sysconfig/proxy") || die "can't open $vepath/etc/sysconfig/proxy: $!"; 591 591 print PROXY "HTTP_PROXY=$ENV{http_proxy}\n" if ((defined $ENV{http_proxy}) && ($ENV{http_proxy} ne '')); 592 print PROXY "HTTPS_PROXY=$ENV{https_proxy}\n" if ((defined $ENV{https_proxy}) && ($ENV{https_proxy} ne '')); 592 593 print PROXY "FTP_PROXY=$ENV{ftp_proxy}\n" if ((defined $ENV{ftp_proxy}) && ($ENV{ftp_proxy} ne '')); 593 594 close(PROXY);
Note:
See TracChangeset
for help on using the changeset viewer.