From f2f400649edabeafdef9e4782a4d327c3ec79a07 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Thu, 9 Feb 2012 14:07:11 +0100 Subject: [PATCH] Properly disable apt-listchanges. --- src/functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/functions.sh b/src/functions.sh index 83fc87d..f5a0859 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -787,14 +787,14 @@ apt_listchanges () { case $command in disable) if [ -f $file ]; then - dpkg-divert --local --rename --divert $file.$backup_ext \ + dpkg-divert --local --rename --divert $file.disabled \ --add $file || true fi ;; enable) - if [ -f $file.$backup_ext ]; then - dpkg-divert --remove $file || true + if [ -f $file.disabled ]; then + dpkg-divert --rename --remove $file || true fi ;; esac -- 1.7.10.4