Fixed escape sequence in apt::repo
This commit is contained in:
parent
06372388d6
commit
760013c658
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ define apt::repo($source, $dist="", $components="main", $key="", $keyserver="")
|
|||
}
|
||||
|
||||
if $apt_proxy {
|
||||
$source_real = regsubst($source, "^([^:]+://)(.+)$", "\1$apt_proxy/\2")
|
||||
$source_real = regsubst($source, "^([^:]+://)(.+)$", "\\1$apt_proxy/\\2")
|
||||
} else {
|
||||
$source_real = $source
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue