only create the link to sha.pm after installation on ubuntu/debian

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-02-16 07:53:19 +00:00
parent fa89345a5c
commit 1acb9398d6

View File

@ -38,7 +38,9 @@ case "$1" in
shalocate=`find / -name "SHA.pm"`
shalocate=${shalocate%SHA.pm}
cd $shalocate
ln -s SHA.pm SHA1.pm
if [ ! -e SHA1.pm ];then
ln -s SHA.pm SHA1.pm
fi
cd -
;;