diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-05 18:12:18 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-05 18:12:18 -0800 |
commit | ae49927598cb7e5d18776b277181670f0207d4ad (patch) | |
tree | 687f0d4948924148f0c6ed5ffe4c3ef50011f850 /debian/vyatta-cfg-system.postinst.in | |
parent | daa2a8f7742c29d72c9237177d8a8649004ed3ac (diff) | |
download | vyatta-cfg-quagga-ae49927598cb7e5d18776b277181670f0207d4ad.tar.gz vyatta-cfg-quagga-ae49927598cb7e5d18776b277181670f0207d4ad.zip |
remove saved logrotate.d files (to avoid duplicate).
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 3 |
1 files changed, 3 insertions, 0 deletions
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 |