dotnet: fix fetch-deps in paket projects

This commit is contained in:
David McFarland 2024-09-05 00:51:14 -03:00
parent 13bd100300
commit 9a14832d2e

View File

@ -60,7 +60,7 @@ configureNuget() {
done
fi
if [[ -f paket.dependencies ]]; then
if [[ -z ${keepNugetConfig-} && -f paket.dependencies ]]; then
sed -i "s:source .*:source $nugetSource:" paket.dependencies
sed -i "s:remote\:.*:remote\: $nugetSource:" paket.lock