summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122020-09-08 14:16:26 +0200
committerwillemw122020-09-08 14:16:26 +0200
commit7a243ac97bc2ea2cb6aa83629fb567d022ecf0db (patch)
treed2450164f3e2748123bbabfe3ceaa0896098d6f3
parentc6ee533920764b965024be4a38a7361534a8e1a0 (diff)
downloadaur-7a243ac97bc2ea2cb6aa83629fb567d022ecf0db.tar.gz
Chmod only installed files. Quiet virtualenv build
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--sickchill-git.install6
3 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 45a50713a83..367e7c9028d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = sickchill-git
pkgdesc = Automatic video library manager for TV shows
- pkgver = 2020.9.6.post7.r0
+ pkgver = 2020.9.7.post4.r0
pkgrel = 1
url = https://sickchill.github.io
install = sickchill-git.install
diff --git a/PKGBUILD b/PKGBUILD
index cd4e611e237..4b3d216784d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# That is the only reason why this package ends on -git.
pkgname=sickchill-git
-pkgver=2020.9.6.post7.r0
+pkgver=2020.9.7.post4.r0
pkgrel=1
pkgdesc="Automatic video library manager for TV shows"
arch=('any')
@@ -31,7 +31,7 @@ pkgver() {
build() {
#python -m venv build
- virtualenv build
+ virtualenv --quiet build
build/bin/pip install --quiet --quiet --isolated --no-warn-script-location --root=build --prefix=. sickchill
sed -i '1s|.*|#!/opt/sickchill/app/bin/python|' build/bin/SickChill.py
diff --git a/sickchill-git.install b/sickchill-git.install
index 44b3c3b1e20..9faefc9e69a 100644
--- a/sickchill-git.install
+++ b/sickchill-git.install
@@ -1,13 +1,15 @@
post_install() {
systemd-sysusers sickchill.conf
systemd-tmpfiles --create sickchill.conf
- chown -R sickchill:sickchill /opt/sickchill
+
+ chown -R sickchill:sickchill /opt/sickchill/app
+ chown sickchill:sickchill /opt/sickchill/data
echo "==> Start and enable sickchill.service. Then visit http://localhost:8081/"
}
post_upgrade() {
- post_install $1
+ post_install "$1"
}
pre_remove() {