From 471387b1db7f6e9952ae0d709840560cb0d0bc6d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 4 Jul 2008 13:06:19 -0700 Subject: Modify upgrade procedure for /etc/sudoers Bugfix 3429 0) make backup of file 1) remove old glendale entries 2) put all vyatta entries in one block 3) remove vyatta entries on package removal --- debian/vyatta-cfg-system.postrm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian/vyatta-cfg-system.postrm') diff --git a/debian/vyatta-cfg-system.postrm b/debian/vyatta-cfg-system.postrm index d668f55d..46ec1aaa 100644 --- a/debian/vyatta-cfg-system.postrm +++ b/debian/vyatta-cfg-system.postrm @@ -2,6 +2,9 @@ if [ "$1" = "purge" ]; then rm -f /etc/udev/rules.d/*vyatta-net.rules + + sed -i '/### BEGIN VYATTA/,/### END VYATTA/d' /etc/sudoers + fi # Local Variables: -- cgit v1.2.3