sickbeard: use make_dirs= for creating /var/lib/sickbeard
This commit is contained in:
parent
6425416f39
commit
5f00419cb5
|
@ -1,8 +1,2 @@
|
|||
#!/bin/sh
|
||||
if [ ! -d /var/lib/sickebard ];
|
||||
then
|
||||
mkdir -p /var/lib/sickbeard
|
||||
chown sickbeard:sickbeard /var/lib/sickbeard
|
||||
fi
|
||||
|
||||
exec chpst -usickbeard:sickbeard python2 /usr/share/sickbeard/SickBeard.py --datadir=/var/lib/sickbeard --quiet --nolaunch
|
||||
|
|
|
@ -1,19 +1,22 @@
|
|||
# Template build file for 'sickbeard'.
|
||||
# Template file for 'sickbeard'
|
||||
pkgname=sickbeard
|
||||
version=507
|
||||
revision=2
|
||||
depends="python-cheetah"
|
||||
revision=3
|
||||
noarch=yes
|
||||
wrksrc="Sick-Beard-build-${version}"
|
||||
pycompile_dirs="/usr/share/${pkgname}"
|
||||
depends="python-cheetah"
|
||||
short_desc="Usenet personal video recorder"
|
||||
maintainer="Ananteris <ananteris@mailinator.com>"
|
||||
system_accounts="sickbeard"
|
||||
sickbeard_homedir="/var/lib/sickbeard"
|
||||
license="GPL-3"
|
||||
homepage="http://sickbeard.com"
|
||||
distfiles="https://github.com/midgetspy/Sick-Beard/archive/build-${version}.tar.gz"
|
||||
checksum=eaf95ac78e065f6dd8128098158b38674479b721d95d937fe7adb892932e9101
|
||||
wrksrc="Sick-Beard-build-${version}"
|
||||
homepage="http://sickbeard.com"
|
||||
license="GPL-3"
|
||||
pycompile_dirs="/usr/share/${pkgname}"
|
||||
|
||||
system_accounts="sickbeard"
|
||||
sickbeard_homedir="/var/lib/sickbeard"
|
||||
|
||||
make_dirs="/var/lib/sickbeard 0755 sickbeard sickbeard"
|
||||
|
||||
do_build() {
|
||||
sed -i "1s/build Nonea/${version}/" ${wrksrc}/sickbeard/version.py
|
||||
|
|
Loading…
Reference in New Issue