[python/etc/apt/sources.list] refactoring + ajout de non-free si necessaire
darcs-hash:20081219073747-af139-e401ea69f9fa70e0507688173e1f60f21fadcc0c.gz
This commit is contained in:
parent
f981af9e97
commit
bd8a742079
1 changed files with 14 additions and 26 deletions
|
@ -27,48 +27,36 @@ if has("ovh"):
|
|||
source("http://security.debian.org/ %s/updates main" % distro)
|
||||
|
||||
@# Paquet construit a la main
|
||||
source("ftp://mirror.adm.crans.org/custom ./")
|
||||
|
||||
elif has("debian-lenny"):
|
||||
prefix = ""
|
||||
source("ftp://mirror.adm.crans.org/debian/ lenny main contrib")
|
||||
source("http://security.debian.org/ lenny/updates main")
|
||||
source("ftp://mirror.adm.crans.org/custom/ ./")
|
||||
|
||||
if has("o2"):
|
||||
prefix = ""
|
||||
@# Avant-premières des paquets ocsigen
|
||||
source("http://ocsigen.org/debian/ lenny main contrib")
|
||||
source("%s/custom ./" % repo)
|
||||
|
||||
else:
|
||||
# Pour les mises a jour de sécurité on utilise pas de mirroir...
|
||||
if has("adm-only"):
|
||||
# ... sauf si le serveur ne voit pas le reste du monde ...
|
||||
prefix = "ftp://mirror.adm.crans.org/"
|
||||
source("debian-security etch/updates main")
|
||||
source("%s/debian-security %s/updates main" % (repo, distro))
|
||||
else:
|
||||
prefix = "ftp://security.debian.org/"
|
||||
source("debian-security etch/updates main")
|
||||
source("http://security.debian.org/debian-security %s/updates main" % distro)
|
||||
|
||||
if has("debian-mirror"):
|
||||
prefix = "file:/mirror/"
|
||||
if has("firmware-bnx2"):
|
||||
source("%s/debian %s main contrib non-free" % (repo, distro))
|
||||
else:
|
||||
prefix = "ftp://mirror.adm.crans.org/"
|
||||
|
||||
source("debian etch main contrib")
|
||||
source("%s/debian %s main contrib" % (repo, distro))
|
||||
|
||||
# Pour quand ça sera fait:
|
||||
# if has("need-volatile"):
|
||||
source("debian-volatile etch/volatile main contrib")
|
||||
source("%s/debian-volatile %s/volatile main contrib" % (repo, distro))
|
||||
|
||||
if has("2B"):
|
||||
@# Mplayer...
|
||||
source("debian-multimedia etch main")
|
||||
source("%s/debian-multimedia %s main" % (repo, distro))
|
||||
|
||||
@# Paquets construits à la main
|
||||
source("custom ./")
|
||||
source("%s/custom ./" % repo)
|
||||
|
||||
if has("rouge"):
|
||||
prefix = ""
|
||||
@# Backports pour dovecot
|
||||
source("http://www.backports.org/backports.org/ etch-backports main contrib")
|
||||
source("http://www.backports.org/backports.org/%s-backports main contrib" % distro)
|
||||
|
||||
if has("o2"):
|
||||
@# Avant-premières des paquets ocsigen
|
||||
source("http://ocsigen.org/debian/lenny main contrib")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue