~elementary-os/ubuntu-package-imports/ubiquity-trusty

« back to all changes in this revision

Viewing changes to d-i/source/apt-setup/generators/50mirror.ubuntu

  • Committer: RabbitBot
  • Date: 2014-03-11 17:51:53 UTC
  • Revision ID: rabbitbot@elementaryos.org-20140311175153-bup0uc9mps3h4wpm
updated to version 2.17.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
        srcdirectory="$directory"
111
111
fi
112
112
 
113
 
if [ "$protocol" = http ]; then
 
113
case $protocol in
 
114
    http|https)
114
115
        db_get mirror/$protocol/proxy
115
116
        proxy="$RET"
116
117
        if [ -n "$proxy" ]; then
118
119
                        echo "Acquire::$protocol::Proxy \"$proxy\";" >> $ROOT/etc/apt/apt.conf.new
119
120
                fi
120
121
        fi
121
 
fi
 
122
        ;;
 
123
esac
122
124
 
123
125
db_get apt-setup/proposed
124
126
PROPOSED="$RET"