1
###################################################################
2
# CONFIGURATION OPTIONS
3
###################################################################
4
# Every item has a default value besides MIRRORS (which is unset).
6
# Use aptitude, apt-get, or apt?
7
# Note that apt-get is used as a fallback for outputting the
8
# package URI list for e.g. aptitude, which can't do this
9
# Optionally add the FULLPATH to apt-get or apt-rpm or aptitude
10
# e.g. /usr/bin/aptitude
17
# Enable DOWNLOADBEFORE to suppress apt-fast confirmation dialog and download
20
# Default: dialog enabled
25
# Choose mirror list to speed up downloads from same archive. To select some
26
# mirrors take a look at your distribution's archive mirror lists.
27
# Debian: http://www.debian.org/mirror/list
28
# Ubuntu: https://launchpad.net/ubuntu/+archivemirrors
31
# To use some German mirrors and official Debian and Ubuntu archives you can use:
32
# MIRRORS=( 'http://ftp.debian.org/debian,http://ftp2.de.debian.org/debian,http://ftp.de.debian.org/debian,ftp://ftp.uni-kl.de/debian'
33
# 'http://archive.ubuntu.com/ubuntu,http://de.archive.ubuntu.com/ubuntu,http://ftp.halifax.rwth-aachen.de/ubuntu,http://ftp.uni-kl.de/pub/linux/ubuntu,http://mirror.informatik.uni-mannheim.de/pub/linux/distributions/ubuntu/' )
34
# To use French Ubuntu mirrors you can use:
35
# MIRRORS=( 'http://fr.archive.ubuntu.com/ubuntu,http://bouyguestelecom.ubuntu.lafibre.info/ubuntu,http://mirror.ovh.net/ubuntu,http://ubuntu-archive.mirrors.proxad.net/ubuntu' )
42
# Maximum number of connections
43
# You can use this value in _DOWNLOADER command. Escape with ${}: ${_MAXNUM}
50
# Maximum number of connections per server
56
# Download file using given number of connections
57
# If more than N URIs are given, first N URIs are used and remaining URIs are used for backup.
58
# If less than N URIs are given, those URIs are used more than once so that N connections total are made simultaneously.
63
# Split size i.e. size of each piece
64
# Possible Values: 1M-1024M
69
# Piece selection algorithm to use
70
# Available values are: default, inorder, geom
71
# default: selects piece so that it reduces the number of establishing connection, reasonable for most cases
72
# inorder: selects pieces in sequential order starting from first piece
73
# geom: selects piece which has minimum index like inorder, but it exponentially increasingly keeps space from previously selected pieces
78
# Downloadmanager listfile
79
# You can use this value in _DOWNLOADER command. Escape with ${}: ${DLLIST}
81
# Default: /tmp/apt-fast.list
83
#DLLIST=/tmp/apt-fast.list
86
# Download command to use. Temporary download list is designed for aria2. But
87
# you can choose another download command or download manager. It has to
88
# support following input file syntax (\t is tab character):
91
# MIRROR1\tMIRROR2\tMIRROR3...
93
# MIRROR1\tMIRROR2\tMIRROR3...
98
# aria2c with a proxy (set username, proxy, ip and password!)
99
# _DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} --http-proxy=http://username:password@proxy_ip:proxy_port -i ${DLLIST}'
101
# Default: _DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} -i ${DLLIST} --connect-timeout=600 --timeout=600 -m0'
103
#_DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} -i ${DLLIST} --connect-timeout=600 --timeout=600 -m0'
106
# Download temp folder for Downloadmanager
107
# example /tmp/apt-fast. Standard is /var/cache/apt-fast
109
# Default: /var/cache/apt/apt-fast
111
#DLDIR=/var/cache/apt/apt-fast
114
# APT archives cache directory
116
# Default /var/cache/apt/archives
117
# (APT configuration items Dir::Cache and Dir::Cache::archives)
119
#APTCACHE=/var/cache/apt/archives
123
# Colors are disabled when not using a terminal.
125
# Default colors are: