Package: pinentry-qt

the postinst script updates the alternative to pinentry-qt, should be
pinentry-qt4.

diff -u pinentry-qt4-0.7.3+svn799201/debian/control 
pinentry-qt4-0.7.3+svn799201/debian/control
--- pinentry-qt4-0.7.3+svn799201/debian/control
+++ pinentry-qt4-0.7.3+svn799201/debian/control
@@ -1,7 +1,8 @@
 Source: pinentry-qt4
 Section: utils
 Priority: optional
-Maintainer: Peter Eisentraut <[EMAIL PROTECTED]>
+Maintainer: Ubuntu Core Developers <[EMAIL PROTECTED]>
+XSBC-Original-Maintainer: Peter Eisentraut <[EMAIL PROTECTED]>
 Build-Depends: cdbs (>= 0.4.51), cmake, debhelper (>= 6), libqt4-dev
 Standards-Version: 3.7.3
 
diff -u pinentry-qt4-0.7.3+svn799201/debian/pinentry-qt4.postinst 
pinentry-qt4-0.7.3+svn799201/debian/pinentry-qt4.postinst
--- pinentry-qt4-0.7.3+svn799201/debian/pinentry-qt4.postinst
+++ pinentry-qt4-0.7.3+svn799201/debian/pinentry-qt4.postinst
@@ -4,11 +4,11 @@
 
 if [ "$1" = configure ]; then
        update-alternatives --quiet \
-         --install /usr/bin/pinentry pinentry /usr/bin/pinentry-qt 95 \
-         --slave /usr/share/man/man1/pinentry.1.gz pinentry.1.gz 
/usr/share/man/man1/pinentry-qt.1.gz
+         --install /usr/bin/pinentry pinentry /usr/bin/pinentry-qt4 95 \
+         --slave /usr/share/man/man1/pinentry.1.gz pinentry.1.gz 
/usr/share/man/man1/pinentry-qt4.1.gz
        update-alternatives --quiet \
-         --install /usr/bin/pinentry-x11 pinentry-x11 /usr/bin/pinentry-qt 95 \
-         --slave /usr/share/man/man1/pinentry-x11.1.gz pinentry-x11.1.gz 
/usr/share/man/man1/pinentry-qt.1.gz
+         --install /usr/bin/pinentry-x11 pinentry-x11 /usr/bin/pinentry-qt4 95 
\
+         --slave /usr/share/man/man1/pinentry-x11.1.gz pinentry-x11.1.gz 
/usr/share/man/man1/pinentry-qt4.1.gz
 fi
 
 #DEBHELPER#
diff -u pinentry-qt4-0.7.3+svn799201/debian/changelog 
pinentry-qt4-0.7.3+svn799201/debian/changelog
--- pinentry-qt4-0.7.3+svn799201/debian/changelog
+++ pinentry-qt4-0.7.3+svn799201/debian/changelog
@@ -1,3 +1,10 @@
+pinentry-qt4 (0.7.3+svn799201-1ubuntu1) intrepid; urgency=low
+
+  * Fix postinst, alternative should point to pinentry-qt4 not pinentry-qt, 
+    Closes: LP: #263357
+
+ -- Jonathan Riddell <[EMAIL PROTECTED]>  Mon, 08 Sep 2008 18:01:15 +0100
+
 pinentry-qt4 (0.7.3+svn799201-1) experimental; urgency=low
 
   * Initial release

Reply via email to