Bug#679700: accessodf: unopkg isn't on the PATH in Ubuntu

2012-07-01 Thread Sebastian Humenda
Hello,

Stefano Rivera stefa...@debian.org schrieb am 30.06.2012, 22:40 +0200:
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.
While I don't understand why unopkg cannot be found in /usr/bin/unopkg, I have
done the suggested modification. Please try out the package, which I uploaded
here:

http://crustulus.de/accessodf_0.1-1.2_all.deb
http://crustulus.de/accessodf_0.1-1.2.debian.tar.gz
http://crustulus.de/accessodf_0.1-1.2.dsc
http://crustulus.de/accessodf_0.1-1.2_i386.changes
http://crustulus.de/accessodf_0.1.orig.tar.gz

Sebastian
-- 
Blog (English | Deutsch): http://crustulus.de/blog
Teste das freie Latein-Deutsch-Wörterbuch:
  http://freedict.org/dict?Form=dict3Database=lat-deu
Freedict: Free multilingual dictionary databases - http://www.freedict.org


signature.asc
Description: Digital signature


Bug#679700: accessodf: unopkg isn't on the PATH in Ubuntu

2012-06-30 Thread Stefano Rivera
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.0 +0200
+++ accessodf-0.1/debian/postinst   2012-06-30 22:30:55.0 +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/preinst2012-04-10 00:36:53.0 +0200
+++ accessodf-0.1/debian/preinst2012-06-30 22:30:39.0 +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.0 +0200
+++ accessodf-0.1/debian/prerm  2012-06-30 22:30:48.0 +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() {