From ae49927598cb7e5d18776b277181670f0207d4ad Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Mon, 5 Nov 2007 18:12:18 -0800 Subject: remove saved logrotate.d files (to avoid duplicate). --- debian/vyatta-cfg-system.postinst.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index a317354a..6349b748 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -47,6 +47,9 @@ if [ "$sysconfdir" != "/etc" ]; then # ssh v1. remove the empty key file rm /etc/ssh/ssh_host_key + # remove unnecessary files + rm /etc/logrotate.d/*.vyatta-save >& /dev/null + # quagga/daemons sed 's/=no/=yes/' /etc/quagga/daemons.vyatta-save > /etc/quagga/daemons fi -- cgit v1.2.3