#!/bin/sh

if [ -n $installroot ]; then
    if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
        rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-x86_64/*.rpm
    fi
else
    if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
        rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-x86_64/*.rpm
    fi
fi

exit 0
