diff --git a/xCAT-server/debian/postinst b/xCAT-server/debian/postinst index 24601c1a1..9782f11a1 100644 --- a/xCAT-server/debian/postinst +++ b/xCAT-server/debian/postinst @@ -36,7 +36,7 @@ case "$1" in 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=`find /usr -name "SHA.pm"` shalocate=${shalocate%SHA.pm} cd $shalocate if [ ! -e SHA1.pm ];then