[Ubuntu] Remove apt sources for Postgresql, Mongodb, Heroku (#3091)

This commit is contained in:
Vladimir Safonkin
2021-04-07 13:57:35 +03:00
committed by GitHub
parent 1a3945d52c
commit f29cc02bef
5 changed files with 26 additions and 5 deletions

View File

@@ -103,3 +103,10 @@ function Get-CachedToolInstances
return $toolInstances
}
function Get-AptSourceRepository {
param([String] $PackageName)
$sourceUrl = Get-Content "$PSScriptRoot/../helpers/apt-sources.txt" | Select-String -Pattern $PackageName | Take-OutputPart -Part 1
return $sourceUrl
}