bugfix: cleanup and bugfix mutagen installer
[webi-installers/.git] / mutagen / install.ps1
index 51a66a63020aa85ec3fd3ed32d16b91d4e7de8c0..bffc1052fc94f29993f07e428bcf64701f69b1aa 100644 (file)
@@ -29,7 +29,6 @@ IF (!(Test-Path -Path "$pkg_src_cmd"))
 
     pushd .local\tmp
 
-        Remove-Item -Path ".\mutagen-v*" -Recurse -ErrorAction Ignore
         Remove-Item -Path ".\mutagen.exe" -Recurse -ErrorAction Ignore
 
         echo "Unpacking $pkg_download"
@@ -37,7 +36,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd"))
 
         echo "Install Location: $pkg_src_cmd"
         New-Item "$pkg_src_bin" -ItemType Directory -Force
-        Move-Item -Path ".\mutagen-*\mutagen.exe" -Destination "$pkg_src_bin"
+        Move-Item -Path ".\mutagen.exe" -Destination "$pkg_src_bin"
 
     popd
 }