mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-21 17:11:45 +00:00
getting the /etc/init.d/postgresql file right
Former-commit-id: 04f5b148be2f55504b5b1143ccceb3d878d5a41a
This commit is contained in:
parent
858ea1f1f2
commit
faaedfcd27
@ -476,7 +476,7 @@ install -m 755 postgresql-check-db-dir $RPM_BUILD_ROOT%{_bindir}/postgresql-chec
|
||||
|
||||
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
|
||||
sed 's/^PGVERSION=.*$/PGVERSION=%{version}/' <%{SOURCE11} >postgresql.init
|
||||
install -m 755 %{SOURCE11} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
|
||||
install -m 755 postgresql.init $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
|
||||
|
||||
%if %pam
|
||||
install -d $RPM_BUILD_ROOT/etc/pam.d
|
||||
|
Loading…
Reference in New Issue
Block a user