blob: 61a7b881b62e785f7167ffd0c41a4babd38b1232 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
#
# Add backports to souces.list.
#
# TODO: check backports key signature
if ! grep -q -e "^deb http://backports.debian.org/debian"; then
echo "deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free" >> /etc/apt/sources.list
apt-get update ; apt-get install debian-backports-keyring ; apt-get update
fi
|