community/prosody: Fixed bug in prosody.initd

prosody.initd calls luac, but prosody only depends an lua5.2 which provides
luac5.2, but not luac. Calling luac5.2 instead luac allows the script to
run correctly with only the dependencies of the package installed.
This commit is contained in:
Marian Buschsieweke 2018-05-23 20:55:15 +02:00 committed by Leonardo Arena
parent 4b9cc0a8dd
commit 9b28d0e484
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
_luaver=5.2
pkgname=prosody
pkgver=0.10.1
pkgrel=0
pkgrel=1
pkgdesc="Lua based Jabber/XMPP server"
url="http://prosody.im/"
arch="all"
@ -58,4 +58,4 @@ package() {
sha512sums="200083b004237b2d0aff5251abc8c3465a9d79c67b3cb43d1faaacfdd3dc3c4f7b06da2f8b6ed7f5b3bd72028764aae0600b545fc912a61d846258bde1237bae prosody-0.10.1.tar.gz
a6ca168fe3d11ee3b05295fb36dfaf8240c60a85507032b2502f9a97d3fd055f7eee38ba6efbb8f79472fc7cdd3556922194d0bd7099f7fb809be01890acc511 prosody.cfg.lua.patch
b07498cd42677d09f1a3fd4a5d91a085e90dd10cee7d6ee7c5e41438cfc2f4049ab9948c0fd0f7e148dd81f6a25c64c6ae832ea4864cee2329d3c6735216b78b mallinfo.patch
11b0f5e4fa488e047c26aa5e51c35983100cdbf7ebbf7c8b6d003c8db7f52e797f93e4744d54b3094c82d722d5e4de62b5734376cb5e69a4c6127f8cb07a4347 prosody.initd"
24360603dbd5d2a92758e6c4b4aab4f02cbd05373580cba2df76df98b6045891e8108e8c2d16af9508e93968ed5880db952e7a21b2742ebeec6f14b167968c2c prosody.initd"

View File

@ -19,7 +19,7 @@ checkconfig() {
eerror "You need a /etc/prosody/prosody.cfg.lua file to run prosody"
return 1
fi
luac -p /etc/prosody/prosody.cfg.lua
luac5.2 -p /etc/prosody/prosody.cfg.lua
return $?
}