From 3e371cad5de7f5929e3cb23a13a1533e74630ba0 Mon Sep 17 00:00:00 2001 From: linggao Date: Fri, 23 Jul 2010 18:59:22 +0000 Subject: [PATCH] minor fix on ospkgs git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/ospkgs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xCAT/postscripts/ospkgs b/xCAT/postscripts/ospkgs index 0300c8e5a..50fce16db 100755 --- a/xCAT/postscripts/ospkgs +++ b/xCAT/postscripts/ospkgs @@ -23,6 +23,12 @@ #------------------------------------------------------------------------------- debug=0 +if [[ $OSTYPE != linux* ]]; then + #not supported on AIX + echo "ospkgs script only runs on Linux." + exit 0 +fi + # This command only runs by updatenode command if [[ $UPDATENODE -ne 1 ]]; then echo " Did not install any extra rpms."