summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--sickchill-git.install12
3 files changed, 12 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b0630379564..5d86017fe45 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = sickchill-git
pkgdesc = Automatic video library manager for TV shows
- pkgver = 2021.11.10.r0
+ pkgver = 2022.7.20.r0
pkgrel = 1
url = https://sickchill.github.io
install = sickchill-git.install
diff --git a/PKGBUILD b/PKGBUILD
index 55254767abe..8edb4392933 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
# That is the only reason why this package ends on -git.
pkgname=sickchill-git
-pkgver=2021.11.10.r0
+pkgver=2022.7.20.r0
pkgrel=1
pkgdesc="Automatic video library manager for TV shows"
arch=('any')
diff --git a/sickchill-git.install b/sickchill-git.install
index b52160d2ee2..74a04ec3b96 100644
--- a/sickchill-git.install
+++ b/sickchill-git.install
@@ -1,8 +1,17 @@
+# Remove all program files, including files created or modified by SickChill
+_cleanup_app_files() {
+ rm -rf /opt/sickchill/app
+}
+
post_install() {
post_upgrade
echo "==> Start and enable sickchill.service. Then visit http://localhost:8081/"
}
+pre_upgrade() {
+ _cleanup_app_files
+}
+
post_upgrade() {
systemd-sysusers sickchill.conf
chown -R sickchill:sickchill /opt/sickchill/app
@@ -14,8 +23,7 @@ pre_remove() {
}
post_remove() {
- # Remove additional files created by the built-in updater
- rm -rf /opt/sickchill/app
+ _cleanup_app_files
echo "==> To delete the configuration files, run as root: rm -rf /opt/sickchill/data"