Skip to content
Snippets Groups Projects
Commit 9c15df83 authored by Sertonix's avatar Sertonix Committed by Francesco Colista
Browse files

community/kiwiirc: don't try to create /var/run/kiwiirc

parent 78a1637b
No related branches found
No related tags found
1 merge request!55444community/kiwiirc: don't try to create /var/run/kiwiirc
Pipeline #196063 skipped
......@@ -3,7 +3,7 @@
pkgname=kiwiirc
_pkgname=KiwiIRC
pkgver=0.9.4
pkgrel=2
pkgrel=3
pkgdesc="A hand-crafted webirc client"
url="https://www.kiwiirc.com/"
arch="noarch"
......@@ -33,7 +33,6 @@ package() {
install -D -m644 package.json $pkgdir/usr/share/webapps/kiwiirc/package.json
install -d -m755 $pkgdir/usr/lib/kiwiirc/server_modules
install -d -m755 $pkgdir/var/lib/kiwiirc
install -d -m775 $pkgdir/var/run/kiwiirc
install -d -m644 $pkgdir/var/log/kiwiirc
install -d -m755 $pkgdir/usr/share/webapps/kiwiirc/server
install -d -m755 $pkgdir/usr/share/webapps/kiwiirc/node_modules
......@@ -47,7 +46,6 @@ package() {
chown -R $pkgusers:$pkggroups "$pkgdir"/usr/lib/kiwiirc
chown -R $pkgusers:$pkggroups "$pkgdir"/usr/share/webapps/kiwiirc
chown -R $pkgusers:$pkggroups "$pkgdir"/var/lib/kiwiirc
chown $pkgusers:$pkggroups "$pkgdir"/var/run/kiwiirc
install -D -m755 $srcdir/$pkgname.initd $pkgdir/etc/init.d/$pkgname
install -D -m644 $srcdir/$pkgname.confd $pkgdir/etc/conf.d/$pkgname
......@@ -57,5 +55,5 @@ package() {
sha512sums="81034d4b1d6af93bd2fbacd302c0780996b87bbf0b936b61abb1ca04fb97939d956bf4704ada63766a4da04feb56957abf141ed74fff02fd7db237b6272a6ac4 kiwiirc-0.9.4.tar.gz
2b2b61d579fe73ba59c05b3bf9a8ac1bc43225ad414ab34474746731a443c56431ddc9156005a7d3890c65e2344c882d8731c1c36b7a07af0c7014fd4d37e811 kiwilauncher.patch
1bc8829398d1311384f8411bd65f6231831d2f24728d779f97a99b5e7e46758771c36b5daba215fe6508c728162bfbb22fdaa3be2b44988d59c53804e7005c40 kiwipath.patch
a0612b562313eaa6eb2f4fafab2d40ce4784685c8a14e57a5eae8c9126cab3370957dc0a56dace370e10ddb02bda01800063baf6fa66b8159d9f99c06ac85c39 kiwiirc.initd
1ccb89dca08b9ddb97d7555421ad73268eab3c54ab84089668b29dc04ffd94881895fe59469f3733e8f10e4d07aa41746f73570b9c82876fa28f85bb44d0ab42 kiwiirc.initd
416b807dee290b0d55020fd980dbf232615f173899d13fe859834cdb61af96a30c5edbeafa35e290cb9d9ed9695ae53abfc876fb4b73687dabfcb3467046a304 kiwiirc.confd"
......@@ -8,10 +8,14 @@ command="/usr/bin/kiwi"
pidfile="/var/run/kiwiirc/kiwiirc.pid"
depend() {
use net
use net
after firewall
}
start_pre() {
checkpath -d -m 0755 -o kiwiirc:kiwiirc -q /run/kiwiirc
}
start() {
if ! [ -f /var/lib/kiwiirc/index.html ]; then
$command build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment