ubuntu does not ship SHA1.pm any more, all functions are contained in SHA.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2012-11-29 09:06:48 +00:00
parent fa0d361403
commit 143e0f3304

View File

@ -32,7 +32,13 @@ case "$1" in
fi
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 / -name "SHA.pm"`
shalocate=${shalocate%SHA.pm}
cd $shalocate
ln -s SHA.pm SHA1.pm
cd -
;;
abort-upgrade|abort-remove|abort-deconfigure)