diff options
Diffstat (limited to 'community/leafnode/leafnode.install')
-rw-r--r-- | community/leafnode/leafnode.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/leafnode/leafnode.install b/community/leafnode/leafnode.install index 5f8a74c04..8c5f10484 100644 --- a/community/leafnode/leafnode.install +++ b/community/leafnode/leafnode.install @@ -1,7 +1,7 @@ post_install() { echo "-- Adding user 'news' and group 'news', chowning /var/spool/news" - grep -e "^news:" /etc/group 2>&- >&- || groupadd -g 13 -r news 2>&- >&- - grep -e "^news:" /etc/passwd 2>&- >&- || useradd -u 9 -r -m -g news news 2>&- >&- + grep -e "^news:" etc/group 2>&- >&- || groupadd -g 13 -r news 2>&- >&- + grep -e "^news:" etc/passwd 2>&- >&- || useradd -u 9 -r -m -g news news 2>&- >&- chown -R root:news etc/leafnode # create dir if necessary if [ ! -d var/spool/news ]; then |