add strict release check
This commit is contained in:
parent
8ee1cb7457
commit
5ccbf223d6
@ -119,7 +119,8 @@ echo "This is an $OSNAME system"
|
||||
|
||||
#begin to create repo for redhat platform
|
||||
|
||||
if [ "$OSNAME" != "AIX" ]; then
|
||||
grep -i 'Red' /etc/issue;
|
||||
if [ "$OSNAME" != "AIX" -a $? -eq 0 ]; then
|
||||
cat >$CURDIR/build/xCAT-core.repo << EOF
|
||||
[xcat-2-core]
|
||||
name=xCAT 2 Core packages
|
||||
|
Loading…
Reference in New Issue
Block a user