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 Feb 21, 2021
1 parent 9a03505 commit 27a8285
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 27a8285

Please sign in to comment.