The Free Software Media System - Server Backend & API
Fix left /usr/bin/jellyfin symlink on removal and typo
MichaIng1883ecd81716
diff --git a/debian/postrm b/debian/postrmindex 1d00a984ec..3d56a5f1e8 100644--- a/debian/postrm+++ b/debian/postrm@@ -25,7 +25,7 @@ case "$1" inpurge)echo PURGE | debconf-communicate $NAME > /dev/null 2>&1 || true- if [[ -x "/etc/init.d/jellyfin" ]] || [[ -e "/etc/init/jellyfin.connf" ]]; then+ if [[ -x "/etc/init.d/jellyfin" ]] || [[ -e "/etc/init/jellyfin.conf" ]]; thenupdate-rc.d jellyfin remove >/dev/null 2>&1 || truefi@@ -54,7 +54,7 @@ case "$1" inrm -rf $PROGRAMDATAfi# Remove binary symlink- [[ -f /usr/bin/jellyfin ]] && rm /usr/bin/jellyfin+ rm -f /usr/bin/jellyfin# Remove sudoers config[[ -f /etc/sudoers.d/jellyfin-sudoers ]] && rm /etc/sudoers.d/jellyfin-sudoers# Remove anything at the default locations; catches situations where the user moved the defaults