diff options
author | willemw12 | 2020-09-08 14:16:26 +0200 |
---|---|---|
committer | willemw12 | 2020-09-08 14:16:26 +0200 |
commit | 7a243ac97bc2ea2cb6aa83629fb567d022ecf0db (patch) | |
tree | d2450164f3e2748123bbabfe3ceaa0896098d6f3 | |
parent | c6ee533920764b965024be4a38a7361534a8e1a0 (diff) | |
download | aur-7a243ac97bc2ea2cb6aa83629fb567d022ecf0db.tar.gz |
Chmod only installed files. Quiet virtualenv build
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | sickchill-git.install | 6 |
3 files changed, 7 insertions, 5 deletions
@@ -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 @@ -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 44b3c3b1e207..9faefc9e69ab 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() { |