summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRaphael Hertzog <hertzog@debian.org>2009-02-22 23:09:51 +0100
committerRaphael Hertzog <hertzog@debian.org>2009-02-22 23:15:11 +0100
commit73c189a330b4878ab7be880d4b943fe9fbb3b06d (patch)
tree45b0b5a4343a4e4d0c81375ff196e8fbdcf5a167 /ChangeLog
parenta7cc8e2eb39c36b8456fdf6b9abbb3eb32dfbcd0 (diff)
downloaddpkg-73c189a330b4878ab7be880d4b943fe9fbb3b06d.tar.gz
update-alternatives: add --log option
This option overrides the default log file /var/log/dpkg.log. It is needed to make the update-alternatives test-suite succeed when run with fakeroot because without override the test-suite would try to write to /var/log/dpkg.log and fail. Hence adjust the test-suite accordingly.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4e8749ec2..256d0c322 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2009-02-22 Raphael Hertzog <hertzog@debian.org>
+ * scripts/update-alternatives.pl: Add new option --log to
+ log to another file than /var/log/dpkg.log.
+ * man/update-alternatives.8: Document the new option.
+ * scripts/t/900_update_alternatives.t: Call update-alternatives
+ with --log /dev/null since the test suite can be run with fakeroot
+ and it would try to write to /var/log/dpkg.log because fakeroot
+ makes it believe that it is writable.
+
+2009-02-22 Raphael Hertzog <hertzog@debian.org>
+
* scripts/update-alternatives.pl: update-alternatives should not
replace real files by symlinks. When --install is called, the
alternative link should either not exist or already be a link. It