diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-10-17 01:51:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-17 01:51:53 -0400 |
| commit | d454e8710dafa1b5d5ff8e886230c61dbb29ef1f (patch) | |
| tree | 6deb32ffc36dbcbeec4d255157a1c0513fb441a6 /debian | |
| parent | 5c2ecc0ca5f4672e090d35bfa8886718a95feb4f (diff) | |
| parent | 1883ecd81716acb108424924711aed842dd6338a (diff) | |
Merge pull request #3690 from MichaIng/patch-1
Fix left /usr/bin/jellyfin symlink on removal and typo
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 |
