before installation.
Installmanager works to install, remove and update. Removing and
updating cases does not need to check available hard disk size. So, we
delete stub code for checking available hard disk size.
Change-Id: I391bc578b4687dfa275640e58aa483ee3b15c970
Signed-off-by: yongsung1.kim <yongsung1.kim@samsung.com>
fi
###### Get system information ######
-AVAIL_SPACE=`df -k . | tail -n -1 | awk '{if ( $4 ~ /%/) { print $3 } else { print $4 } }'`
DISPLAY_MODE=$DISPLAY
OS_BLOCKSIZE=`df -k . |head -n 1 | awk '{if ( $4 ~ /%/) { print $1 } else { print $2 } }'`
fi
####################################
-## check the available space ##
-if [ $AVAIL_SPACE -lt 5452596 ]; then
- echo "${CE} Available blocks: $AVAIL_SPACE($OS_BLOCKSIZE) Needed blocks: about 5.2GB "
- echo " Please free up the required Disk Space and try again. $CN"
- exit 1
-fi
-
## check the root user ##
if [ `whoami` = "root" ] ; then
echo "${CE} Do not install as 'root' user or 'su' commands. ${CN}"