check for empty cfgloc file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
13dfe4f595
commit
b751f62376
@ -88,7 +88,7 @@ if [ "$1" = "1" ]; then #Only if installing for the first time..
|
||||
|
||||
%ifos linux
|
||||
if [ -f "/proc/cmdline" ]; then #check to make sure this is not image install
|
||||
if [ ! -f /etc/xcat/cfgloc ]; then # database is sqlite
|
||||
if [ ! -s /etc/xcat/cfgloc ]; then # database is sqlite
|
||||
$RPM_INSTALL_PREFIX0/sbin/xcatconfig -d
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user