diff --git a/plugin/nut-2.8.0.plg b/plugin/nut-2.8.0.plg index 1922c78d..3125d41f 100644 --- a/plugin/nut-2.8.0.plg +++ b/plugin/nut-2.8.0.plg @@ -334,6 +334,10 @@ rm -rf /etc/nut rm -f /etc/ups rm -rf /var/run/nut +# clean up once more in case of reinstall on live system +rm -rf /etc/nut +rm -rf /etc/ups + echo "" echo "-----------------------------------------------------------" echo " &name; has been removed." diff --git a/plugin/nut.plg b/plugin/nut.plg index 7bbf795c..1f226222 100755 --- a/plugin/nut.plg +++ b/plugin/nut.plg @@ -304,6 +304,10 @@ rm -rf &plgPATH;/ups rm -f &plgPATH;/*.txz \ &plgPATH;/*.md5 +# clean up once more in case of reinstall on live system +rm -rf /etc/nut +rm -rf /etc/ups + echo "" echo "-----------------------------------------------------------" echo " &name; has been removed."