From eee22d9c3960951d4fd54c3d54c2ed506273db20 Mon Sep 17 00:00:00 2001 From: xq2005 <xq2005@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd> Date: Mon, 24 Jun 2013 07:36:06 +0000 Subject: [PATCH] find SHA.pm in /usr/lib/perl on ubuntu/debian git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/debian/postinst b/xCAT-server/debian/postinst index 9782f11a1..5988fcf27 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 /usr -name "SHA.pm"` + shalocate=`find /usr/lib/perl -name "SHA.pm"` shalocate=${shalocate%SHA.pm} cd $shalocate if [ ! -e SHA1.pm ];then