Merge pull request #51 from seemethere/reduce_install_footprint

Remove software-properties-common
This commit is contained in:
Eli Uriegas authored and GitHub committed 2017-12-04 13:40:14 -08:00
commit ba9be29845
1 file changed
-3
-3
View File
@@ -351,13 +351,10 @@ do_install() {
ubuntu|debian|raspbian)
pre_reqs="apt-transport-https ca-certificates curl"
if [ "$lsb_dist" = "debian" ] && [ "$dist_version" = "wheezy" ]; then
pre_reqs="$pre_reqs python-software-properties"
backports="deb http://ftp.debian.org/debian wheezy-backports main"
if ! grep -Fxq "$backports" /etc/apt/sources.list; then
(set -x; $sh_c "echo \"$backports\" >> /etc/apt/sources.list")
fi
else
pre_reqs="$pre_reqs software-properties-common"
fi
if ! command -v gpg > /dev/null; then
pre_reqs="$pre_reqs gnupg"