better way to detect suse in xCAT.spec

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
memotype 2008-07-08 18:21:38 +00:00
parent 562a8143db
commit dc45603115

View File

@ -43,7 +43,7 @@ tar -xf postscripts.tar
%build
%install
if grep -i suse /etc/issue >/dev/null 2>&1; then
if [ -e /etc/SuSE-release ]; then
apachedir=$RPM_BUILD_ROOT/etc/apache2/conf.d
else
apachedir=$RPM_BUILD_ROOT/etc/httpd/conf.d