diff -Nru oohanzi-0.8/debian/changelog oohanzi-0.8ubuntu1/debian/changelog --- oohanzi-0.8/debian/changelog 2011-04-21 12:28:07.000000000 +0000 +++ oohanzi-0.8ubuntu1/debian/changelog 2011-04-22 11:28:27.000000000 +0000 @@ -1,3 +1,9 @@ +oohanzi (0.8ubuntu1) maverick; urgency=low + + * Fixed packaging issue. + + -- Louis-Dominique Dubeau Fri, 22 Apr 2011 07:28:16 -0400 + oohanzi (0.8) maverick; urgency=low * Updated packaging dependencies for maverick. diff -Nru oohanzi-0.8/debian/control oohanzi-0.8ubuntu1/debian/control --- oohanzi-0.8/debian/control 2011-04-21 12:34:39.000000000 +0000 +++ oohanzi-0.8ubuntu1/debian/control 2011-04-22 11:23:53.000000000 +0000 @@ -8,7 +8,7 @@ Package: oohanzi Architecture: all -Depends: oounihan (>= 0.4), oowebdict (>= 0.4) +Depends: ${misc:Depends}, oounihan (>= 0.4), oowebdict (>= 0.4) Description: Extension for processing Chinese characters (Hanzi) in OpenOffice This package contains an extension for Open Office which allows to lookup characters in the Unihan database, manipulate rubies and lookup diff -Nru oohanzi-0.8/debian/postinst oohanzi-0.8ubuntu1/debian/postinst --- oohanzi-0.8/debian/postinst 2009-04-25 08:28:46.000000000 +0000 +++ oohanzi-0.8ubuntu1/debian/postinst 2011-04-22 11:29:36.000000000 +0000 @@ -12,7 +12,6 @@ # Names used in messages NAME_STRONG=oohanzi NAME_WEAK=oohanzi -OPENOFFICEORG=OpenOffice.org # This package's name in Debian package manager. This is also the name of the # directory the language component is in. @@ -25,8 +24,15 @@ # 'unopkg' registers and removes the language component to/from the # OpenOffice.org. This is the full path name to it. -UNOPKG=/usr/lib//openoffice/program/unopkg +UNOPKG=/usr/lib/libreoffice/program/unopkg +OPENOFFICEORG=LibreOffice +if [ ! -e $UNOPKG ] +then + # try OpenOffice + UNOPKG=/usr/lib/openoffice/program/unopkg + OPENOFFICEORG=OpenOffice.org +fi # Here we define a function that will display messages to user. diff -Nru oohanzi-0.8/debian/prerm oohanzi-0.8ubuntu1/debian/prerm --- oohanzi-0.8/debian/prerm 2009-04-25 08:28:46.000000000 +0000 +++ oohanzi-0.8ubuntu1/debian/prerm 2011-04-22 11:29:04.000000000 +0000 @@ -12,7 +12,6 @@ # Names used in messages NAME_STRONG=oohanzi NAME_WEAK=oohanzi -OPENOFFICEORG=OpenOffice.org # This package's name in Debian package manager. This is also the name of the # directory the language component is in. @@ -24,7 +23,16 @@ # 'unopkg' registers and removes the language component to/from the # OpenOffice.org. This is the full path name to it. -UNOPKG=/usr/lib/openoffice/program/unopkg +UNOPKG=/usr/lib/libreoffice/program/unopkg +OPENOFFICEORG=LibreOffice + +if [ ! -e $UNOPKG ] +then + # try OpenOffice + UNOPKG=/usr/lib/openoffice/program/unopkg + OPENOFFICEORG=OpenOffice.org +fi + # Here we define a function that will display messages to user. diff -Nru oohanzi-0.8/.~lock.oohanzi-doc.odt# oohanzi-0.8ubuntu1/.~lock.oohanzi-doc.odt# --- oohanzi-0.8/.~lock.oohanzi-doc.odt# 2011-04-21 12:19:23.000000000 +0000 +++ oohanzi-0.8ubuntu1/.~lock.oohanzi-doc.odt# 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -Louis-Dominique Dubeau,ldd,karma,21.04.2011 08:19,file:///home/ldd/.libreoffice/3; \ No newline at end of file