File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -116,12 +116,18 @@ for ($idx = 0; $idx -lt $content.Length; $idx++)
116
116
117
117
# Change the buffer size to include the three lines just added
118
118
$buffer = 3
119
+
120
+ # Flag that we are no longer in the VSFeed entry
121
+ $VSFeedSeen = $False
119
122
}
120
123
121
124
# Check if we are looking at the entry for DH_WindowsAzurePowerShellGet
122
125
if ($PSGetSeen -and $content [$idx ] -like " *msiProductCode*" )
123
126
{
124
127
$content [$idx ] = " <msiProductCode>$ProductCode </msiProductCode>"
128
+
129
+ # Flag that we are no longer in the PSGet entry
130
+ $PSGetSeen = $False
125
131
}
126
132
127
133
$newContent [$idx + $buffer ] = $content [$idx ]
@@ -172,6 +178,11 @@ for ($idx = 0; $idx -lt $content.Length; $idx++)
172
178
{
173
179
$content [$idx ] = " <trackingURL>http://www.microsoft.com/web/handlers/webpi.ashx?command=incrementproddownloadcount&prodid=WindowsAzurePowershell&version=$PSVersion &prodlang=en</trackingURL>"
174
180
}
181
+
182
+ if ($content [$idx ] -like " *</entry>*" )
183
+ {
184
+ $PSGetSeen = $False
185
+ }
175
186
}
176
187
177
188
}
You can’t perform that action at this time.
0 commit comments