From 573add99eb1632e43707acd086d7010d08f465d5 Mon Sep 17 00:00:00 2001 From: rbalocca Date: Mon, 28 Jul 2008 16:26:29 -0700 Subject: Since this packages changes the bash-completion conf file, it must be installed after bash-completion --- debian/control | 1 + debian/vyatta-cfg-system.postinst.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/control b/debian/control index 4b5692bb..214be062 100644 --- a/debian/control +++ b/debian/control @@ -34,6 +34,7 @@ Depends: sed (>= 4.1.5), tasksel, snmp, tcpdump +Pre-Depends: bash-completion Suggests: util-linux (>= 2.13-5), net-tools, ethtool, diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index e7ac929a..61a4842a 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -23,6 +23,7 @@ esac ln -sf ../vyatta-net.rules /etc/udev/rules.d/$vyatta_net_rules if [ "$sysconfdir" != "/etc" ]; then + touch /etc/sudoers cp -p /etc/sudoers /etc/sudoers.bak # for "admin" level @@ -32,7 +33,6 @@ if [ "$sysconfdir" != "/etc" ]; then fi # cleanup any old entries from previous versions - touch /etc/sudoers ed - /etc/sudoers <