summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiretza2023-08-23 19:33:30 +0000
committerXiretza2023-08-26 15:35:34 +0000
commit1eb921727e6772b21f131955c033a849202ceeef (patch)
treec1fb14f7dbf04513bdc3b466521f11eaa08329f6
parentf6cf0c6378454dcae28aa3f6c9e50be0e2971ede (diff)
downloadaur-1eb921727e6772b21f131955c033a849202ceeef.tar.gz
Fix and update install message
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--nominatim.install4
3 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e31524e36890..a98fa9eb61e5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nominatim
pkgdesc = Geocoding tool using OpenStreetmap data
pkgver = 4.2.3
- pkgrel = 2
+ pkgrel = 3
url = https://nominatim.org
install = nominatim.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index fc226af6548b..e47c66849a05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgdesc="Geocoding tool using OpenStreetmap data"
url="https://nominatim.org"
pkgver=4.2.3
-pkgrel=2
+pkgrel=3
arch=("x86_64")
license=("GPL2")
diff --git a/nominatim.install b/nominatim.install
index a21e681ba0fa..6b7dc111ec90 100644
--- a/nominatim.install
+++ b/nominatim.install
@@ -2,11 +2,13 @@
post_install() {
cat <<- 'EOF'
- Create the required PostgreSQL and users for nominatim by running
+ Create the required PostgreSQL database and user for nominatim by running
`sudo -u postgres createuser --superuser nominatim`
`sudo -u postgres createuser http`
Then `su` to user `nominatim` and follow the instructions at https://nominatim.org/release-docs/latest/admin/Import/#choosing-the-data-to-import to
download and import data. The project directory is /var/lib/nominatim.
+
+ Don't forget to remove superuser permissions from the nominatim PostgreSQL user after installation is complete.
EOF
}