Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SickChill 20221013 - 5449 revival #5458

Merged
merged 18 commits into from
Oct 22, 2022
3 changes: 2 additions & 1 deletion spk/sickchill/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ CHANGELOG = "Switched to a wheel based install, as source and git installs are n
HOMEPAGE = https://sickchill.github.io/
LICENSE = GPLv3+

SERVICE_USER = AUTO
SERVICE_USER = auto

SERVICE_SETUP = src/service-setup.sh
SERVICE_PORT = 8081
SERVICE_PORT_TITLE = $(DISPLAY_NAME)
Expand Down
6 changes: 6 additions & 0 deletions spk/sickchill/src/service-setup.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,9 @@ service_postupgrade() {
set_unix_permissions "${SYNOPKG_PKGDEST}"
fi
}

service_postuninst ()
{
# Do this as ${SYNOPKG_PKGDEST}/tmp folder not removed and should be.
rm -rf "${SYNOPKG_PKGDEST}"
}