This commit is contained in:
dmacias72 2016-03-11 23:28:23 -07:00
parent 630440c4ee
commit 44a51a721b

View File

@ -146,9 +146,9 @@ if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then
&plgPATH;/&plgNAME;.md5
exit 1
else
#remove old plugin name directory
if [ -d /usr/local/emhttp/plugins/ipmitool ]; then
rm -rf /usr/local/emhttp/plugins/ipmitool
#remove old plugin
if [ -f /boot/config/plugins/ipmitool-plugin.plg ]; then
plugin remove ipmitool-plugin.plg
fi
if [ -d /usr/local/emhttp/plugins/ipmitool-plugin ]; then
rm -rf /usr/local/emhttp/plugins/ipmitool-plugin