- Use the correct content for .bash_profile (boo#1153168).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=117
This commit is contained in:
2019-10-07 08:31:46 +00:00
committed by Git OBS Bridge
parent bae088c398
commit 62d421e920
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 7 08:26:39 UTC 2019 - Reinhard Max <max@suse.com>
- Use the correct content for .bash_profile (boo#1153168).
-------------------------------------------------------------------
Mon Sep 23 14:03:32 UTC 2019 - Reinhard Max <max@suse.com>

View File

@@ -284,7 +284,7 @@ install -m755 -d %buildroot/usr/share/postgresql
install -m755 %{S:7} %buildroot/usr/share/postgresql/install-alternatives
%if %{with systemd}
install -m644 %{S:7} %buildroot/usr/share/postgresql/bash_profile
install -m644 %{S:5} %buildroot/usr/share/postgresql/bash_profile
install -m755 -d %buildroot/%_tmpfilesdir
install -m644 %{S:3} %buildroot%_tmpfilesdir/postgresql.conf
install -m755 %{S:6} %buildroot/usr/share/postgresql
@@ -294,7 +294,7 @@ install -m444 %{S:4} %buildroot%_unitdir
ln -sf service %buildroot/usr/sbin/rcpostgresql
%else
install -m640 %{S:7} %buildroot/var/lib/pgsql/.bash_profile
install -m640 %{S:5} %buildroot/var/lib/pgsql/.bash_profile
install -m755 -d %buildroot/etc/init.d
install -m755 %{S:0} %buildroot/etc/init.d/postgresql
ln -sf /etc/init.d/postgresql %buildroot/usr/sbin/rcpostgresql