Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b292d218b | |||
| 25b9b02df2 |
2
Makefile
2
Makefile
@@ -2,7 +2,7 @@ NAME = netoik-db
|
||||
VERSION = $(shell git describe --abbrev=0)
|
||||
RELEASE = $(shell git rev-parse --short HEAD)
|
||||
ARCH = noarch
|
||||
OWNER = samuel
|
||||
OWNER = netoik
|
||||
SUMMARY = "Netoïk Database Management System"
|
||||
LICENSE = "MIT"
|
||||
URL = "https://git.netoik.io/$(OWNER)/$(NAME)"
|
||||
|
||||
@@ -26,7 +26,7 @@ Install the database management system called postgresql with a predefined confi
|
||||
chown postgres:postgres "%{_rundir}/postgresql"
|
||||
|
||||
# Init cluster if necessary
|
||||
runuser --user=postgres -- if [ ! -f $PGDATA/PG_VERSION ]; then postgresql-setup --initdb; fi
|
||||
runuser --user=postgres -- [ -f $PGDATA/PG_VERSION ] || postgresql-setup --initdb
|
||||
|
||||
# Restart services
|
||||
systemctl daemon-reload
|
||||
|
||||
Reference in New Issue
Block a user