summaryrefslogtreecommitdiffstats
path: root/abs/extra/tigervnc/tiger.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-05 01:24:41 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-05 01:24:41 (GMT)
commit3b6edecc192dea64ff208f0f0322f88329ee7c05 (patch)
treeac6323027a000838a7e358374ed4c18502c6985b /abs/extra/tigervnc/tiger.install
parent5454066f299d7a6d2b1330b93aace2375cae2417 (diff)
downloadlinhes_pkgbuild-3b6edecc192dea64ff208f0f0322f88329ee7c05.zip
linhes_pkgbuild-3b6edecc192dea64ff208f0f0322f88329ee7c05.tar.gz
linhes_pkgbuild-3b6edecc192dea64ff208f0f0322f88329ee7c05.tar.bz2
tigervnc: add sudo rules for the vncsvc user
Diffstat (limited to 'abs/extra/tigervnc/tiger.install')
-rw-r--r--abs/extra/tigervnc/tiger.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/abs/extra/tigervnc/tiger.install b/abs/extra/tigervnc/tiger.install
index 5aa9395..87e7b5e 100644
--- a/abs/extra/tigervnc/tiger.install
+++ b/abs/extra/tigervnc/tiger.install
@@ -1,12 +1,14 @@
post_install(){
groupadd -g 78 vncsvc &>/dev/null
useradd -u 78 -m -g vncsvc -d /home/vncsvc -s /bin/bash vncsvc &>/dev/null
+ usermod -a -G mythtv vncsvc
chown -R vncsvc:vncsvc /home/vncsvc &>/dev/null
}
post_upgrade(){
getent group vncsvc >/dev/null 2>&1 || groupadd -g 78 vncsvc &>/dev/null
getent passwd vncsvc >/dev/null 2>&1 || useradd -u 78 -g vncsvc -m -d /home/vncsvc -s /bin/bash vncsvc &>/dev/null
+ usermod -a -G mythtv vncsvc
}
post_remove(){