From f37ccfd1a0dc134315f8e893653d55e3a4e402c0 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 1 Apr 2011 08:34:04 +0000 Subject: main/vlc: fix vlc-daemon.post-install again --- main/vlc/APKBUILD | 3 ++- main/vlc/vlc-daemon.post-install | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'main/vlc') 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 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 -- cgit v1.2.3