File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ function Install-DbaMaintenanceSolution {
258
258
if (-not $localCachedCopy ) {
259
259
# Do we need a fresly cached version of the software?
260
260
$dbatoolsData = Get-DbatoolsConfigValue - FullName ' Path.DbatoolsData'
261
- $localCachedCopy = Join-DbaPath - Path $dbatoolsData - Child ' sql-server-maintenance-solution-master '
261
+ $localCachedCopy = Join-DbaPath - Path $dbatoolsData - Child ' sql-server-maintenance-solution-main '
262
262
if ($Force -or $LocalFile -or -not (Test-Path - Path $localCachedCopy )) {
263
263
if ($PSCmdlet.ShouldProcess (' MaintenanceSolution' , ' Update local cached copy of the software' )) {
264
264
try {
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ function Save-DbaCommunitySoftware {
91
91
# Set Branch, Url and LocalDirectory for known Software
92
92
if ($Software -eq ' MaintenanceSolution' ) {
93
93
if (-not $Branch ) {
94
- $Branch = ' master '
94
+ $Branch = ' main '
95
95
}
96
96
if (-not $Url ) {
97
97
$Url = " https://github.com/olahallengren/sql-server-maintenance-solution/archive/$Branch .zip"
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ function Update-DbaMaintenanceSolution {
89
89
90
90
# Do we need a new local cached version of the software?
91
91
$dbatoolsData = Get-DbatoolsConfigValue - FullName ' Path.DbatoolsData'
92
- $localCachedCopy = Join-DbaPath - Path $dbatoolsData - Child ' sql-server-maintenance-solution-master '
92
+ $localCachedCopy = Join-DbaPath - Path $dbatoolsData - Child ' sql-server-maintenance-solution-main '
93
93
if ($Force -or $LocalFile -or -not (Test-Path - Path $localCachedCopy )) {
94
94
if ($PSCmdlet.ShouldProcess (' MaintenanceSolution' , ' Update local cached copy of the software' )) {
95
95
try {
You can’t perform that action at this time.
0 commit comments