From e760483667267fdcbb99628e7626873f618cca4d Mon Sep 17 00:00:00 2001 From: rbalocca Date: Mon, 28 Jul 2008 16:28:48 -0700 Subject: Remove spurious error message during install --- debian/vyatta-cfg.postinst.in | 4 ++-- 1 file 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 -- cgit v1.2.3