]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- Release 11. postgresql-7_1_3-11
authormkochano <mkochano@pld-linux.org>
Sat, 1 Dec 2001 14:11:31 +0000 (14:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Corrected check for subsys lock: s/postmaster/postgresql/ in %%post
  and %%preun.

Changed files:
    postgresql.spec -> 1.123

postgresql.spec

index d5d5453d23ec859558a7b90270007c7beac705d2..1da7af243c23cef47bb49315bc18dce70bd73ec9 100644 (file)
@@ -10,7 +10,7 @@ Summary(pt_BR):       Gerenciador de Banco de Dados PostgreSQL
 Summary(tr):   Veri Tabaný Yönetim Sistemi
 Name:          postgresql
 Version:       7.1.3
-Release:       10
+Release:       11
 License:       BSD
 Group:         Applications/Databases
 Group(de):     Applikationen/Dateibanken
@@ -805,7 +805,7 @@ id postgres >/dev/null 2>&1 || /usr/sbin/useradd -M -o -r -u 88 \
 %post
 /sbin/chkconfig --add postgresql
 
-if [ -r /var/lock/subsys/postmaster ]; then
+if [ -f /var/lock/subsys/postgresql ]; then
        /etc/rc.d/init.d/postgresql restart >&2
 else
        echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
@@ -813,7 +813,7 @@ fi
 
 %preun
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/postmaster ]; then
+       if [ -f /var/lock/subsys/postgresql ]; then
                /etc/rc.d/init.d/postgresql stop
        fi
        /sbin/chkconfig --del postgresql
This page took 0.349485 seconds and 4 git commands to generate.