diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-10-26 13:19:13 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-26 13:19:13 +0000 |
| commit | 2c5609b333130b9f85b95b5406931198dcfe8583 (patch) | |
| tree | 05aa2dfc8c4456574d83d0f70639926cd7700e90 /debian | |
| parent | 5b8349b4426b2eaa5ac812bf86a89eb3febd2c40 (diff) | |
| parent | a814d01f8c6edab930877031cd9e323f9ceda9d0 (diff) | |
Merge branch 'master' into fordiscussion
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/postrm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/postrm b/debian/postrm index 1d00a984e..3d56a5f1e 100644 --- a/debian/postrm +++ b/debian/postrm @@ -25,7 +25,7 @@ case "$1" in purge) 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" ]]; then update-rc.d jellyfin remove >/dev/null 2>&1 || true fi @@ -54,7 +54,7 @@ case "$1" in rm -rf $PROGRAMDATA fi # 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 |
