Skip to content

Commit

Permalink
uninstaller: also remove /etc
Browse files Browse the repository at this point in the history
  • Loading branch information
publicarray committed Jan 30, 2021
1 parent c2f1739 commit ab9d02b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mk/spksrc.service.installer.dsm7
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ postuninst ()
rm -rf ${SYNOPKG_PKGVAR}/.
fi

if [ "$(ls -A /var/packages/${SYNOPKG_PKGNAME}/etc)" ]; then
rm -rf /var/packages/${SYNOPKG_PKGNAME}/etc/.
fi

if [ "$(ls -A ${SYNOPKG_PKGTMP})" ]; then
rm -rf ${SYNOPKG_PKGTMP}/.
fi
Expand Down

0 comments on commit ab9d02b

Please sign in to comment.