You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/11/07 22:56:49 UTC
[couchdb-pkg] branch master updated: Eliminate duplicate symlink,
fixes #7
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git
The following commit(s) were added to refs/heads/master by this push:
new e7a318a Eliminate duplicate symlink, fixes #7
e7a318a is described below
commit e7a318a53e82ab768bf7bb13241fa24b029c1da4
Author: Joan Touzet <wo...@apache.org>
AuthorDate: Tue Nov 7 14:53:24 2017 -0800
Eliminate duplicate symlink, fixes #7
---
rpm/SPECS/couchdb.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rpm/SPECS/couchdb.spec b/rpm/SPECS/couchdb.spec
index 52c0849..a2b11a9 100644
--- a/rpm/SPECS/couchdb.spec
+++ b/rpm/SPECS/couchdb.spec
@@ -108,12 +108,12 @@ if ! /usr/bin/getent passwd couchdb > /dev/null; then /usr/sbin/adduser \
%else
%{__install} -Dp -m0755 %{SOURCE2} %{buildroot}%{_initrddir}/%{name}
%endif
+%{__ln_s} -f -T %{_sharedstatedir}/%{name} %{buildroot}/opt/%{name}/data
+%{__ln_s} -f -T /var/log/%{name} %{buildroot}/opt/%{name}/var/log/%{name}
%post
%{__chown} -R couchdb:couchdb /opt/%{name}
%{__chmod} a+x /opt/%{name}/bin/*
-%{__ln_s} %{_sharedstatedir}/%{name} /opt/%{name}/data
-%{__ln_s} /var/log/%{name} /opt/%{name}/var/log/%{name}
%if 0%{?fedora} || 0%{?rhel} >= 7
%systemd_post %{name}.service
%else
--
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].