Skip to content

Commit

Permalink
Merge pull request #18 from cwaffles/master
Browse files Browse the repository at this point in the history
Backported Dotdeb debian 7 selector
  • Loading branch information
xeoncross committed Jun 12, 2013
2 parents 22b9abe + c00574b commit ae543bc
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions setup-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,20 @@ function install_exim4 {
}

function install_dotdeb {
#echo "deb http://mirror.us.leaseweb.net/dotdeb/ stable all" >> /etc/apt/sources.list
#echo "deb-src http://mirror.us.leaseweb.net/dotdeb/ stable all" >> /etc/apt/sources.list
echo "deb http://packages.dotdeb.org squeeze all" >> /etc/apt/sources.list
echo "deb-src http://packages.dotdeb.org squeeze all" >> /etc/apt/sources.list
# Debian version 6.x.x
if grep ^6. /etc/debian_version > /dev/null
then
echo "deb http://packages.dotdeb.org squeeze all" >> /etc/apt/sources.list
echo "deb-src http://packages.dotdeb.org squeeze all" >> /etc/apt/sources.list
fi

# Debian version 7.x.x
if grep ^7. /etc/debian_version > /dev/null
then
echo "deb http://packages.dotdeb.org wheezy all" >> /etc/apt/sources.list
echo "deb-src http://packages.dotdeb.org wheezy all" >> /etc/apt/sources.list
fi

wget -q -O - http://www.dotdeb.org/dotdeb.gpg | apt-key add -
}

Expand Down

0 comments on commit ae543bc

Please sign in to comment.