summaryrefslogtreecommitdiffstats
path: root/main/vlc
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-04-01 08:34:04 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-04-01 08:34:11 +0000
commitf37ccfd1a0dc134315f8e893653d55e3a4e402c0 (patch)
tree3cd67a8b950e5fbb92cbcc84297959201e31605c /main/vlc
parent9313b4123f4043b73ad2aa670cff34cc2d231615 (diff)
downloadaports-f37ccfd1a0dc134315f8e893653d55e3a4e402c0.tar.bz2
aports-f37ccfd1a0dc134315f8e893653d55e3a4e402c0.tar.xz
main/vlc: fix vlc-daemon.post-install again
Diffstat (limited to 'main/vlc')
-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 7adac896e..2e0ab496c 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 b397f326b..e97c972c9 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