mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-05 08:11:20 +00:00
postgresql: Fix checkver (#1117)
This commit is contained in:
parent
3eb57c5c1d
commit
1ff0ab23e2
@ -1,8 +1,13 @@
|
|||||||
{
|
{
|
||||||
"homepage": "https://www.postgresql.org/",
|
|
||||||
"description": "Object-relational database management system based on POSTGRES.",
|
|
||||||
"version": "12.3",
|
"version": "12.3",
|
||||||
|
"description": "Object-relational database management system based on POSTGRES.",
|
||||||
|
"homepage": "https://www.postgresql.org",
|
||||||
"license": "PostgreSQL",
|
"license": "PostgreSQL",
|
||||||
|
"notes": [
|
||||||
|
"Run run 'pg_ctl start' or 'pg_ctl stop' to start and stop the database or",
|
||||||
|
"register it as a service by running 'pg_ctl register -N PostgreSQL' from an elevated shell.",
|
||||||
|
"Default superuser login: postgres, password: <blank>"
|
||||||
|
],
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
"url": "https://get.enterprisedb.com/postgresql/postgresql-12.3-1-windows-x64-binaries.zip",
|
"url": "https://get.enterprisedb.com/postgresql/postgresql-12.3-1-windows-x64-binaries.zip",
|
||||||
@ -10,30 +15,25 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extract_dir": "pgsql",
|
"extract_dir": "pgsql",
|
||||||
"env_add_path": "bin",
|
"post_install": [
|
||||||
|
"if (!(Test-Path \"$dir\\data\\pg_hba.conf\")) {",
|
||||||
|
" Invoke-ExternalCommand -FilePath \"$dir\\bin\\initdb.exe\" -ArgumentList \"--username=postgres --encoding=UTF8 --locale=en --lc-collate=C\" | Out-Null",
|
||||||
|
"}"
|
||||||
|
],
|
||||||
"shortcuts": [
|
"shortcuts": [
|
||||||
[
|
[
|
||||||
"pgAdmin 4\\bin\\pgAdmin4.exe",
|
"pgAdmin 4\\bin\\pgAdmin4.exe",
|
||||||
"pgAdmin 4"
|
"pgAdmin 4"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"persist": "data",
|
"env_add_path": "bin",
|
||||||
"env_set": {
|
"env_set": {
|
||||||
"PGDATA": "$dir\\data"
|
"PGDATA": "$dir\\data"
|
||||||
},
|
},
|
||||||
"post_install": [
|
"persist": "data",
|
||||||
"if (!(Test-Path \"$dir\\data\\pg_hba.conf\")) {",
|
|
||||||
" Invoke-ExternalCommand -FilePath \"$dir\\bin\\initdb.exe\" -ArgumentList \"--username=postgres --encoding=UTF8 --locale=en --lc-collate=C\" | Out-Null",
|
|
||||||
"}"
|
|
||||||
],
|
|
||||||
"notes": [
|
|
||||||
"Run run 'pg_ctl start' or 'pg_ctl stop' to start and stop the database or",
|
|
||||||
"register it as a service by running 'pg_ctl register -N PostgreSQL' from an elevated shell.",
|
|
||||||
"Default superuser login: postgres, password: <blank>"
|
|
||||||
],
|
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://www.enterprisedb.com/download-postgresql-binaries",
|
"url": "https://www.enterprisedb.com/download-postgresql-binaries",
|
||||||
"re": "<b>Version ([\\d.]+)"
|
"regex": "<b>Version ([\\d.]+)<"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user