Bug#674022: dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>
found 674022 texlive-base/2012.20120529-1
thanks
The end of the postinst still contains both an underquoting bug and a
logic mistake, causing the same error message from the original bug
description.
--- postinst 2012-06-25 04:05:26.193684796 -0400
+++ postinst 2012-06-25 04:06:05.090645044 -0400
@@ -321,7 +321,7 @@
#
if [ "$1" = "configure" ] ; then
old_version=$2
- if [ -n $old_version ] || dpkg --compare-versions $old_version le 2011.20120322-2 ; then
+ if dpkg --compare-versions "$old_version" le-nl 2011.20120322-2 ; then
for i in /etc/texmf/texdoc \
/etc/texmf/dvips/config \
/etc/texmf/dvips \
Anders
Reply to: