aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2011-12-27 08:48:02 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2011-12-27 08:48:02 +0000
commitdf9bbc450045d76451b9348d0864fe1d129e3007 (patch)
treee3bcb4277f83707fb6135c0b6c9aeb02482c143a /main
parente5c21b5ced00b4ba0c2da0314e47a892b6f7b6c7 (diff)
downloadaports-df9bbc450045d76451b9348d0864fe1d129e3007.tar.bz2
aports-df9bbc450045d76451b9348d0864fe1d129e3007.tar.xz
main/vlc: fix daemon.pre-install
Diffstat (limited to 'main')
-rw-r--r--main/vlc/APKBUILD2
-rw-r--r--main/vlc/vlc-daemon.pre-install4
2 files changed, 3 insertions, 3 deletions
diff --git a/main/vlc/APKBUILD b/main/vlc/APKBUILD
index 50bdec6d5e..e467a2edd3 100644
--- a/main/vlc/APKBUILD
+++ b/main/vlc/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vlc
pkgver=1.1.13
-pkgrel=1
+pkgrel=2
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
pkgusers="vlc"
pkggroups="vlc"
diff --git a/main/vlc/vlc-daemon.pre-install b/main/vlc/vlc-daemon.pre-install
index 17473498c9..72ee1b7ff8 100644
--- a/main/vlc/vlc-daemon.pre-install
+++ b/main/vlc/vlc-daemon.pre-install
@@ -1,13 +1,13 @@
#!/bin/sh
groups="vlc audio video"
-for group in $groups do
+for group in $groups; do
addgroup -S $group 2>/dev/null
done
adduser -S -h /home/vlc -s /bin/sh -G vlc -D vlc 2>/dev/null
# make sure vlc are in all groups
-for group in $groups do
+for group in $groups; do
addgroup vlc $group 2>/dev/null
done
exit 0