aboutsummaryrefslogtreecommitdiffstats
path: root/main/vlc/vlc-daemon.post-install
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/vlc-daemon.post-install
parent9313b4123f4043b73ad2aa670cff34cc2d231615 (diff)
downloadaports-f37ccfd1a0dc134315f8e893653d55e3a4e402c0.tar.bz2
aports-f37ccfd1a0dc134315f8e893653d55e3a4e402c0.tar.xz
main/vlc: fix vlc-daemon.post-install again
Diffstat (limited to 'main/vlc/vlc-daemon.post-install')
-rw-r--r--main/vlc/vlc-daemon.post-install3
1 files changed, 2 insertions, 1 deletions
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