[SCM] Vim packaging branch, debian, updated. upstream/7.2.010-262-g0f47be4
James Vega
jamessan at debian.org
Sun Oct 12 20:40:44 UTC 2008
The following commit has been merged in the debian branch:
commit 0f47be4afd9dc96dde457df155c55a70d3e5f088
Author: James Vega <jamessan at debian.org>
Date: Sun Oct 12 16:31:56 2008 -0400
Extract the proper item from dpkg-query's output
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/debian/vim-runtime.preinst.in b/debian/vim-runtime.preinst.in
index 4836787..83d5895 100644
--- a/debian/vim-runtime.preinst.in
+++ b/debian/vim-runtime.preinst.in
@@ -16,7 +16,7 @@ check_diversion() {
rm -f /usr/share/vim/vim71/doc/tags
rm -f /usr/share/vim/vim71/doc/help.txt
elif dpkg --compare-versions "$1" ge "1:7.1.314-1"; then
- inst="$(dpkg-query -W -f='${Status}\n' vim-tiny | awk '{print $2}')"
+ inst="$(dpkg-query -W -f='${Status}\n' vim-tiny | awk '{print $1}')"
if [ "$inst" != "install" ]; then
# 7.2a versioning was handled oddly
if echo "$1" | grep -q '~'; then
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list