diff options
author | rbalocca <rbalocca@vyatta.com> | 2008-07-28 16:26:29 -0700 |
---|---|---|
committer | rbalocca <rbalocca@vyatta.com> | 2008-07-28 16:26:29 -0700 |
commit | 573add99eb1632e43707acd086d7010d08f465d5 (patch) | |
tree | 39cc17de7553c29d4d5f43e039f52089d316a413 | |
parent | c415474342cccde3cbe00cb6fc4a7ee3aeb00cc3 (diff) | |
download | vyatta-cfg-system-573add99eb1632e43707acd086d7010d08f465d5.tar.gz vyatta-cfg-system-573add99eb1632e43707acd086d7010d08f465d5.zip |
Since this packages changes the bash-completion conf file, it must be installed after bash-completion
-rw-r--r-- | debian/control | 1 | ||||
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 2 |
2 files changed, 2 insertions, 1 deletions
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 <<EOF /### BEGIN VYATTA/,/### END VYATTA/d /Cmnd_Alias IPTABLE/,/PPPOE_CMDS/d |