mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
aur/sabnzbd to 0.7.4-1
This commit is contained in:
parent
75c7cffc8e
commit
ee1d53cf10
3 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgname=sabnzbd
|
||||
_pkgname=SABnzbd
|
||||
pkgver=0.7.3
|
||||
pkgver=0.7.4
|
||||
pkgrel=1
|
||||
pkgdesc="A web-interface based binary newsgrabber with NZB file support"
|
||||
url="http://www.sabnzbd.org"
|
||||
|
@ -14,7 +14,7 @@ backup=("etc/conf.d/${pkgname}" "opt/${pkgname}/${pkgname}.ini")
|
|||
source=("http://downloads.sourceforge.net/sabnzbdplus/${_pkgname}-${pkgver}-src.tar.gz"
|
||||
"${pkgname}" "${pkgname}.confd" "${pkgname}.init" "${pkgname}.desktop"
|
||||
"addnzb.sh" "nzb-2.png" "sab2_64.png" "x-nzb.xml" "${pkgname}.service" "${pkgname}_systemd.confd" "${pkgname}.tmp")
|
||||
md5sums=('5a528e9ac07cce558c9a775d5d2b91d3'
|
||||
md5sums=('6c5e24b4dc9fa3004e4724845afe2cae'
|
||||
'48d60a1c626503c7fef1bc5374390513'
|
||||
'7d7ae7cca08e90582587773da3b55de8'
|
||||
'848c7b117388671f243bd0833ff41f89'
|
||||
|
@ -24,7 +24,7 @@ md5sums=('5a528e9ac07cce558c9a775d5d2b91d3'
|
|||
'fdc878dd0f6f25617e627b04409abbbd'
|
||||
'11fb2cd1451e3725b08bfc2bd045be54'
|
||||
'7c2971c330fc131e75ad55979231edff'
|
||||
'bb1111d3938d76dcc4109d24f1107fe7'
|
||||
'321a56d66a971c833677a54bc3f1060d'
|
||||
'1ced962fabe7f5392e32828429b93d04')
|
||||
|
||||
package() {
|
||||
|
|
|
@ -21,15 +21,16 @@ pre_upgrade() {
|
|||
PID="$(pgrep -f SABnzbd.py)"
|
||||
if [ -f /run/daemons/sabnzbd ]; then
|
||||
/etc/rc.d/sabnzbd stop # kill the daemon
|
||||
|
||||
if [ -n "${PID}" ];then
|
||||
kill "${PID}" # kill the daemon finaly
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -d "/run/sabnzbd/" && "$(ls -A /run/sabnzbd/)" ]]; then
|
||||
systemctl stop sabnzbd.service
|
||||
fi
|
||||
|
||||
if [ -n "${PID}" ];then
|
||||
kill "${PID}" # kill the daemon finaly
|
||||
fi
|
||||
}
|
||||
|
||||
## arg 1: the new package version
|
||||
|
|
|
@ -9,7 +9,7 @@ SABNZBD_PORT=8080
|
|||
|
||||
# Set your default user/group(id), startarguments and your configfile
|
||||
SABNZBD_DIR=/opt/sabnzbd
|
||||
SABNZBD_ARGS=-f /opt/sabnzbd/sabnzbd.ini -s 127.0.0.1:8080 -d
|
||||
SABNZBD_ARGS=-f /opt/sabnzbd/sabnzbd.ini -s ${SABNZBD_IP}:${SABNZBD_PORT} -d
|
||||
|
||||
# Put the session keys from Config > General here
|
||||
SABNZBD_KEY=
|
||||
|
|
Loading…
Reference in a new issue