Skip to content

Commit

Permalink
Some more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
niheaven committed Jan 8, 2025
1 parent 23b8d2a commit 7ae0971
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions bucket/oracle-instant-client-odbc21.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"identifier": "Freeware",
"url": "https://www.oracle.com/downloads/licenses/instant-client-lic.html"
},
"depends": "oracle-instant-client",
"depends": "oracle-instant-client21",
"architecture": {
"64bit": {
"url": "https://download.oracle.com/otn_software/nt/instantclient/2115000/instantclient-odbc-windows.x64-21.15.0.0.0dbru.zip",
Expand All @@ -19,12 +19,12 @@
},
"extract_dir": "instantclient_21_15",
"pre_install": [
"$instantclient = versiondir 'oracle-instant-client' 'current'",
"$instantclient = currentdir 'oracle-instant-client21'",
"Copy-Item -Path \"$dir\\*\" -Destination \"$instantclient\" -Force -Recurse | Out-Null"
],
"uninstaller": {
"script": [
"$instantclient = versiondir 'oracle-instant-client' 'current'",
"$instantclient = currentdir 'oracle-instant-client21'",
"Get-ChildItem -Path \"$dir\" -Exclude *.json | ForEach-Object { Remove-Item -LiteralPath \"$instantclient\\$($_.Name)\" -Recurse -Force -ErrorAction SilentlyContinue }"
]
},
Expand Down
6 changes: 3 additions & 3 deletions bucket/oracle-instant-client-sdk21.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"identifier": "Freeware",
"url": "https://www.oracle.com/downloads/licenses/instant-client-lic.html"
},
"depends": "oracle-instant-client",
"depends": "oracle-instant-client21",
"architecture": {
"64bit": {
"url": "https://download.oracle.com/otn_software/nt/instantclient/2115000/instantclient-sdk-windows.x64-21.15.0.0.0dbru.zip",
Expand All @@ -19,12 +19,12 @@
},
"extract_dir": "instantclient_21_15",
"pre_install": [
"$instantclient = versiondir 'oracle-instant-client' 'current'",
"$instantclient = currentdir 'oracle-instant-client21'",
"Copy-Item -Path \"$dir\\*\" -Destination \"$instantclient\" -Force -Recurse | Out-Null"
],
"uninstaller": {
"script": [
"$instantclient = versiondir 'oracle-instant-client' 'current'",
"$instantclient = currentdir 'oracle-instant-client21'",
"Get-ChildItem -Path \"$dir\" -Exclude *.json | ForEach-Object { Remove-Item -LiteralPath \"$instantclient\\$($_.Name)\" -Recurse -Force -ErrorAction SilentlyContinue }"
]
},
Expand Down
6 changes: 3 additions & 3 deletions bucket/oracle-instant-client-sqlplus21.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"identifier": "Freeware",
"url": "https://www.oracle.com/downloads/licenses/instant-client-lic.html"
},
"depends": "oracle-instant-client",
"depends": "oracle-instant-client21",
"architecture": {
"64bit": {
"url": "https://download.oracle.com/otn_software/nt/instantclient/2115000/instantclient-sqlplus-windows.x64-21.15.0.0.0dbru.zip",
Expand All @@ -19,12 +19,12 @@
},
"extract_dir": "instantclient_21_15",
"pre_install": [
"$instantclient = versiondir 'oracle-instant-client' 'current'",
"$instantclient = currentdir 'oracle-instant-client21'",
"Copy-Item -Path \"$dir\\*\" -Destination \"$instantclient\" -Force -Recurse | Out-Null"
],
"uninstaller": {
"script": [
"$instantclient = versiondir 'oracle-instant-client' 'current'",
"$instantclient = currentdir 'oracle-instant-client21'",
"Get-ChildItem -Path \"$dir\" -Exclude *.json | ForEach-Object { Remove-Item -LiteralPath \"$instantclient\\$($_.Name)\" -Recurse -Force -ErrorAction SilentlyContinue }"
]
},
Expand Down
4 changes: 2 additions & 2 deletions bucket/oracle-instant-client19.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"env_add_path": ".",
"persist": "network\\admin",
"checkver": {
"useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)",
"url": "https://www.oracle.com/database/technologies/instant-client/microsoft-windows-32-downloads.html",
"regex": "Version (19[\\d.]+)"
"regex": "Version (19[\\d.]+)",
"useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
},
"autoupdate": {
"architecture": {
Expand Down
6 changes: 3 additions & 3 deletions bucket/oracle-instant-client21.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"identifier": "Freeware",
"url": "https://www.oracle.com/downloads/licenses/instant-client-lic.html"
},
"suggest": {
"vcredist": "extras/vcredist2022"
},
"architecture": {
"64bit": {
"url": "https://download.oracle.com/otn_software/nt/instantclient/2115000/instantclient-basic-windows.x64-21.15.0.0.0dbru.zip",
Expand All @@ -24,9 +27,6 @@
}
}
},
"suggest": {
"vcredist": "extras/vcredist2022"
},
"extract_dir": "instantclient_21_15",
"env_add_path": ".",
"persist": "network\\admin",
Expand Down

0 comments on commit 7ae0971

Please sign in to comment.