ubuntu and debian ship SHA.pm instand of SHA1.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-07-09 07:21:49 +00:00
parent 0db7fd3e4a
commit 5263081254

View File

@ -34,14 +34,6 @@ case "$1" in
rm /tmp/xCAT-server_upgrade.tmp
fi
ln -sf /opt/xcat/sbin/xcatd /usr/sbin/xcatd
#SHA1 has been get rid of after Squeeze released. Its functionality is also provided by Digest::SHA (which is in core).
#but ipmi.pm need SHA1.pm, so create this link
shalocate=`find /usr/lib/perl -name "SHA.pm"`
shalocate=${shalocate%SHA.pm}
cd $shalocate
if [ ! -e SHA1.pm ];then
ln -s SHA.pm SHA1.pm
fi
cd -
;;