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:
parent
562a8143db
commit
dc45603115
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user