[sources.list] Dépôt custom avec variable à part
This commit is contained in:
parent
82611d64cb
commit
eb95f11206
1 changed files with 3 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue