summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg.postinst.in
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-07-28 16:28:48 -0700
committerrbalocca <rbalocca@vyatta.com>2008-07-28 16:28:48 -0700
commite760483667267fdcbb99628e7626873f618cca4d (patch)
treea6f460c33010a6ec89601bc91c63886fbc6ac90a /debian/vyatta-cfg.postinst.in
parent59494688f9e791179e0411d4ef9f1622376f22ea (diff)
downloadvyatta-cfg-e760483667267fdcbb99628e7626873f618cca4d.tar.gz
vyatta-cfg-e760483667267fdcbb99628e7626873f618cca4d.zip
Remove spurious error message during install
Diffstat (limited to 'debian/vyatta-cfg.postinst.in')
-rw-r--r--debian/vyatta-cfg.postinst.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in
index 074d57c..d934b84 100644
--- a/debian/vyatta-cfg.postinst.in
+++ b/debian/vyatta-cfg.postinst.in
@@ -4,7 +4,7 @@ prefix=@prefix@
sysconfdir=@sysconfdir@
mkdir -m 0775 -p $sysconfdir/config $prefix/config
-chgrp vyattacfg $sysconfdir/config $prefix/config
+chgrp vyattacfg $sysconfdir/config $prefix/config 2>/dev/null
update-rc.d vyatta-ofr defaults 90 >/dev/null
# do we want to start vyatta-ofr here in postinst?
@@ -19,5 +19,5 @@ if [ "$sysconfdir" != "/etc" ]; then
fi
# add group for configuration, if not already present:
-grep '^vyattacfg:' /etc/group >/dev/null ||
+grep '^vyattacfg:' /etc/group >&/dev/null ||
addgroup --system vyattacfg