summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCtibor <ctibor@brancik.cz>2018-01-18 21:29:10 +0100
committerCtibor <ctibor@brancik.cz>2018-01-18 21:29:10 +0100
commitfc4d7ff2167db59246317d487f8cabcaf2c805ec (patch)
treeff9c54ace9322b399592ca1eadd7319c9c08d3fe
parent8004a9b86605fbcd69e5405177145ec0d8095732 (diff)
downloadbrancik-overlay-fc4d7ff2167db59246317d487f8cabcaf2c805ec.tar.gz
brancik-overlay-fc4d7ff2167db59246317d487f8cabcaf2c805ec.tar.bz2
Change the way indiserver user and group is created
-rw-r--r--sci-libs/indilib/indilib-1.5.0.ebuild3
-rw-r--r--sci-libs/indilib/indilib-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/sci-libs/indilib/indilib-1.5.0.ebuild b/sci-libs/indilib/indilib-1.5.0.ebuild
index 2d459d6..6a89776 100644
--- a/sci-libs/indilib/indilib-1.5.0.ebuild
+++ b/sci-libs/indilib/indilib-1.5.0.ebuild
@@ -51,7 +51,8 @@ src_install() {
}
pkg_postinst() {
- enewuser indiserver -1 -1 -1 "usb,uucp,video" -U
+ enewgroup indiserver
+ enewuser indiserver -1 -1 -1 "usb,uucp,video,indiserver"
elog "You can use init script in /etc/init.d/indiserver to start"
elog "indiserver automatically."
elog "Configuration is in /etc/conf.d/indiserver."
diff --git a/sci-libs/indilib/indilib-9999.ebuild b/sci-libs/indilib/indilib-9999.ebuild
index e476c25..9a0ae4b 100644
--- a/sci-libs/indilib/indilib-9999.ebuild
+++ b/sci-libs/indilib/indilib-9999.ebuild
@@ -50,7 +50,8 @@ src_install() {
}
pkg_postinst() {
- enewuser indiserver -1 -1 -1 "usb,uucp,video" -U
+ enewgroup indiserver
+ enewuser indiserver -1 -1 -1 "usb,uucp,video,indiserver"
elog "You can use init script in /etc/init.d/indiserver to start"
elog "indiserver automatically."
elog "Configuration is in /etc/conf.d/indiserver."