Skip to content

Commit

Permalink
fix switching from 2.7.4 to 2.8.0 on live system breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
desertwitch committed Jul 26, 2023
1 parent 2e36422 commit 84bae4a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/nut-2.8.0.plg
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
4 changes: 4 additions & 0 deletions plugin/nut.plg
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 84bae4a

Please sign in to comment.