From: cantor Date: Tue, 7 Aug 2007 22:00:07 +0000 (+0000) Subject: SuSE has different doc conventions. X-Git-Tag: 2.4~808 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fsp.git;a=commitdiff_plain;h=117806382027a9db8f7d6760b470f0d3c9077c10 SuSE has different doc conventions. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2396 cb58f699-b61c-0410-a6fe-9272a202ed29 --- diff --git a/shibboleth.spec.in b/shibboleth.spec.in index ba5c42f..c800d7d 100644 --- a/shibboleth.spec.in +++ b/shibboleth.spec.in @@ -113,9 +113,15 @@ if [ "$APACHE_CONFIG" != "no" ] ; then fi if [ "$APACHE_CONFD" != "no" ] ; then if [ ! -f $APACHE_CONFD/shib.conf ] ; then - sed "s/\/usr\/doc\/%{name}/\/usr\/share\/doc\/%{name}-@-VERSION-@/g" \ +%if "%{_vendor}" == "suse" + sed "s/\/usr\/doc\/%{name}/\/usr\/share\/doc\/packages\/%{name}/g" \ %{_sysconfdir}/%{name}/$APACHE_CONFIG \ > $APACHE_CONFD/shib.conf +%else + sed "s/\/usr\/doc\/%{name}/\/usr\/share\/doc\/%{name}-@-VERSION-@/g" \ + %{_sysconfdir}/%{name}/$APACHE_CONFIG \ + > $APACHE_CONFD/shib.conf +%endif fi fi fi