diff mbox

[5/7] fix dpkg-divert invocation (s/-rename/--rename)

Message ID 1299266681-13266-5-git-send-email-steve.langasek@linaro.org
State New
Headers show

Commit Message

Steve Langasek March 4, 2011, 7:24 p.m. UTC
From: Steve Langasek <steve.langasek@canonical.com>

---
 debian/libturbojpeg62.preinst |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/debian/libturbojpeg62.preinst b/debian/libturbojpeg62.preinst
index 03ff534..70188ce 100644
--- a/debian/libturbojpeg62.preinst
+++ b/debian/libturbojpeg62.preinst
@@ -3,7 +3,7 @@ 
 set -e
 
 if [ install = "$1" ] || dpkg --compare-versions "$2" lt 6b-git.20101110t043445.8a20111-0linaro2; then
-	dpkg-divert --package libjpeg-turbo --add -rename --divert \
+	dpkg-divert --package libjpeg-turbo --add --rename --divert \
 		/usr/lib/libjpeg.so.62.0.0.orig /usr/lib/libjpeg.so.62.0.0 
 fi