jellyfin / jellyfin-packaging

Jellyfin Packaging and Build Workflows
GNU General Public License v3.0
16 stars 16 forks source link

Ensure that "rm -rf" never fails in debian/jellyfin-server.postrm #31

Closed eppesuig closed 1 month ago

eppesuig commented 2 months ago

Ensure that "rm -rf" never fails. It may happens when user specified a mount point (i.e., for the cache directory). Without this patch, at any error, the shell script exits (because is has been activated with "-e") and the package removal fails.

ferferga commented 2 months ago

I think a warning should be printed as well instead of just silently skipping?

eppesuig commented 2 months ago

I think the error message is already printed by rm itself