Package: accessodf
Version: 0.1-1.1
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch

In Ubuntu, unokpkg isn't on the PATH. I have no idea why that is, but
adding /usr/lib/libreoffice/program to PATH in the maintainer scripts
would be useful as it would allow this package to function without
modification in Ubuntu.

Thanks for considering the patch.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
diff -Nru accessodf-0.1/debian/postinst accessodf-0.1/debian/postinst
--- accessodf-0.1/debian/postinst       2012-04-10 00:36:53.000000000 +0200
+++ accessodf-0.1/debian/postinst       2012-06-30 22:30:55.000000000 +0200
@@ -3,8 +3,7 @@
 # and Timo Jyrinki and was adopted from the openoffice.org-voikko package. It
 # was modified by Sebastian Humenda to fit for the AccessODF package.
 
-PATH=/bin:/usr/bin
-
+PATH=/bin:/usr/bin:/usr/lib/libreoffice/program
 set -e
 
 add_extension() {
diff -Nru accessodf-0.1/debian/preinst accessodf-0.1/debian/preinst
--- accessodf-0.1/debian/preinst        2012-04-10 00:36:53.000000000 +0200
+++ accessodf-0.1/debian/preinst        2012-06-30 22:30:39.000000000 +0200
@@ -3,7 +3,7 @@
 # and Timo Jyrinki and was adoptet from the openoffice.org-voikko package. It
 # was modified by Sebastian Humenda to fit for the accessodf package.
 
-PATH=/bin:/usr/bin
+PATH=/bin:/usr/bin:/usr/lib/libreoffice/program
 set -e
 
 flush_unopkg_cache() {
diff -Nru accessodf-0.1/debian/prerm accessodf-0.1/debian/prerm
--- accessodf-0.1/debian/prerm  2012-04-10 00:36:53.000000000 +0200
+++ accessodf-0.1/debian/prerm  2012-06-30 22:30:48.000000000 +0200
@@ -3,6 +3,7 @@
 # and Timo Jyrinki and was adoptet from the openoffice.org-voikko package. It
 # was modified by Sebastian Humenda to fit for the accessodf package.
 
+PATH=/bin:/usr/bin:/usr/lib/libreoffice/program
 set -e
 
 flush_unopkg_cache() {

Reply via email to