[sources.list] Dépôt custom avec variable à part

This commit is contained in:
Pierre-Elliott Bécue 2014-03-19 01:18:54 +01:00
parent 82611d64cb
commit eb95f11206

View file

@ -18,6 +18,7 @@ def source(args):
print
components = "main"
customcomponents = "main"
if has("non-free"):
components = "main contrib non-free"
@ -30,7 +31,7 @@ if has("ovh") or has("soyouz"):
source("ftp://security.debian.org/debian-security %s/updates %s" % (distro, components))
@# Paquets construits à la main
source("%s/custom %s %s" % (repo, distro, components))
source("%s/custom %s %s" % (repo, distro, customcomponents))
else:
source("%s/debian-security %s/updates %s" % (repo, distro, components))
@ -41,7 +42,7 @@ else:
source("%s/debian %s-updates %s" % (repo, distro, components))
@# Paquets construits à la main
source("%s/custom %s %s" % (repo, distro, components))
source("%s/custom %s %s" % (repo, distro, customcomponents))
if has("sogo"):
source("http://inverse.ca/debian %s %s" % (distro,distro))