Island: Modify temporary mongodb zip path in linux mongo installation script
This commit is contained in:
parent
8546330965
commit
3b10a91526
|
@ -4,7 +4,7 @@ param(
|
|||
)
|
||||
|
||||
$MONGODB_URL = "https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.20.zip"
|
||||
$TEMP_MONGODB_ZIP = ".\mongodb.zip"
|
||||
$TEMP_MONGODB_ZIP = (Join-Path -path $(Get-Location) -ChildPath ".\mongodb.zip")
|
||||
|
||||
|
||||
if (!(Test-Path -Path (Join-Path -Path $binDir -ChildPath "mongodb")))
|
||||
|
@ -21,6 +21,8 @@ if (!(Test-Path -Path (Join-Path -Path $binDir -ChildPath "mongodb")))
|
|||
($_.Name -like "mongodb*")
|
||||
} | Select-Object -ExpandProperty Name
|
||||
|
||||
Write-Output $mongodb_folder_name
|
||||
|
||||
# Move mongod file and license file from extracted folder to mongodb folder
|
||||
New-Item -ItemType directory -Path (Join-Path -Path $binDir -ChildPath "mongodb")
|
||||
"Moving extracted mongod and license files"
|
||||
|
|
Loading…
Reference in New Issue