Merge pull request #512 from Romanitho/reinstall
Keep Json temp file to help for troubleshootingpull/515/head
commit
b195fda9bd
|
@ -12,9 +12,6 @@ Function Confirm-Installation ($AppName, $AppVer) {
|
||||||
#Get apps and version in hashtable
|
#Get apps and version in hashtable
|
||||||
$Packages = $Json.Sources.Packages
|
$Packages = $Json.Sources.Packages
|
||||||
|
|
||||||
#Remove json file
|
|
||||||
Remove-Item $JsonFile -Force
|
|
||||||
|
|
||||||
# Search for specific app and version
|
# Search for specific app and version
|
||||||
$Apps = $Packages | Where-Object { $_.PackageIdentifier -eq $AppName -and $_.Version -like "$AppVer*" }
|
$Apps = $Packages | Where-Object { $_.PackageIdentifier -eq $AppName -and $_.Version -like "$AppVer*" }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue