summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control3
-rw-r--r--debian/vyatta-cfg.postinst.in4
2 files changed, 4 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index c469fb8..064474b 100644
--- a/debian/control
+++ b/debian/control
@@ -21,7 +21,8 @@ Depends: sed (>= 4.1.5),
bsdutils (>=1:2.13),
libc6 (>= 2.7-6),
libsort-versions-perl,
- vlan
+ vlan,
+ curl
Replaces: vyatta-cfg-firewall
Suggests: util-linux (>= 2.13-5),
net-tools,
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