aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/vlc/APKBUILD3
-rw-r--r--main/vlc/vlc-daemon.post-install3
2 files changed, 4 insertions, 2 deletions
diff --git a/main/vlc/APKBUILD b/main/vlc/APKBUILD
index 7adac896ec..2e0ab496c4 100644
--- a/main/vlc/APKBUILD
+++ b/main/vlc/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vlc
pkgver=1.1.8
-pkgrel=2
+pkgrel=3
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
url="http://www.videolan.org/vlc/"
arch="all"
@@ -170,6 +170,7 @@ daemon() {
install="vlc-daemon.post-install"
triggers=
arch="noarch"
+ depends="vlc"
mkdir -p "$subpkgdir"
cd "$pkgdir"
diff --git a/main/vlc/vlc-daemon.post-install b/main/vlc/vlc-daemon.post-install
index b397f326b7..e97c972c9e 100644
--- a/main/vlc/vlc-daemon.post-install
+++ b/main/vlc/vlc-daemon.post-install
@@ -1,2 +1,3 @@
#!/bin/sh
-adduser -h /home/vlc -s /bin/sh -G audio -G video -D vlc &>/dev/null
+adduser -h /home/vlc -s /bin/sh -G audio -G video -D vlc &>/dev/null || true
+touch /var/log/vlc.log && chown vlc /var/log/vlc.log