If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org
no subject
Date: 2008-03-24 06:07 pm (UTC)if [ -d /usr/lib/oracle ]
then
# diskspace=`df -k /usr/lib/oracle | grep '^/dev*' | awk '{print $4}'`
diskspace=`df -k /usr/lib/oracle | grep -v Filesystem | grep % | tr -s " " | cut -d" " -f4`
diskspace=`expr $diskspace / 1024`
if [ $diskspace -lt 100 ]
then
echo "You have insufficient diskspace in the destination directory (/usr/lib/oracle)
to install Oracle Client 10g Express Edition. The installation requires at
least 100 MB free on this disk."
exit 1
fi
else
# diskspace=`df -k /usr/lib | grep '^/dev*' | awk '{print $4}'`
diskspace=`df -k /usr/lib | grep -v Filesystem | grep % | tr -s " " | cut -d" " -f4`
diskspace=`expr $diskspace / 1024`
if [ $diskspace -lt 100 ]
then
echo "You have insufficient diskspace in the destination directory (/usr/lib) to
install Oracle Client 10g Express Edition. The installation requires at
least 100 MB free on this disk."
exit 1
fi
fi
гм. как бы вокруг df не пришлось враппера городить.