[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

./packages/openofficeorg/3.0/experimental r1139: fix script.bugs



------------------------------------------------------------
revno: 1139
committer: Rene Engelhard <rene@debian.org>
branch nick: debian
timestamp: Wed 2008-07-02 13:22:15 +0200
message:
  fix script.bugs
renamed:
  openoffice.org-core.script.bug => openoffice.org-core.script.bug.in
  openoffice.org-emailmerge.script.bug => openoffice.org-emailmerge.script.bug.in
  openoffice.org-pdfimport.script.bug => openoffice.org-pdfimport.script.bug.in
  openoffice.org-presentation-minimizer.script.bug => openoffice.org-presentation-minimizer.script.bug.in
  openoffice.org-presenter-screen.script.bug => openoffice.org-presenter-screen.script.bug.in
  openoffice.org-report-builder.script.bug => openoffice.org-report-builder.script.bug.in
  openoffice.org-sdbc-postgresql.script.bug => openoffice.org-sdbc-postgresql.script.bug.in
  openoffice.org-wiki-publisher.script.bug => openoffice.org-wiki-publisher.script.bug.in
modified:
  rules
  openoffice.org-pdfimport.script.bug.in
  openoffice.org-presenter-screen.script.bug.in
=== renamed file 'openoffice.org-core.script.bug' => 'openoffice.org-core.script.bug.in'
=== renamed file 'openoffice.org-emailmerge.script.bug' => 'openoffice.org-emailmerge.script.bug.in'
=== renamed file 'openoffice.org-pdfimport.script.bug' => 'openoffice.org-pdfimport.script.bug.in'
--- a/openoffice.org-pdfimport.script.bug	2008-05-13 11:20:38 +0000
+++ b/openoffice.org-pdfimport.script.bug.in	2008-07-02 11:22:15 +0000
@@ -1,2 +1,2 @@
 #!/bin/sh
-/usr/lib/openoffice/program/unopkg list --shared com.sun.star.comp.documents.PDFImport >&3
+/usr/lib/openoffice/program/unopkg list --shared com.sun.star.PDFImport-@PLATFORMID@ >&3

=== renamed file 'openoffice.org-presentation-minimizer.script.bug' => 'openoffice.org-presentation-minimizer.script.bug.in'
=== renamed file 'openoffice.org-presenter-screen.script.bug' => 'openoffice.org-presenter-screen.script.bug.in'
--- a/openoffice.org-presenter-screen.script.bug	2008-04-03 21:18:38 +0000
+++ b/openoffice.org-presenter-screen.script.bug.in	2008-07-02 11:22:15 +0000
@@ -1,2 +1,2 @@
 #!/bin/sh
-/usr/lib/openoffice/program/unopkg list --shared org.openoffice.PresenterScreen >&3
+/usr/lib/openoffice/program/unopkg list --shared com.sun.PresenterScreen-@PLATFORMID@ >&3

=== renamed file 'openoffice.org-report-builder.script.bug' => 'openoffice.org-report-builder.script.bug.in'
=== renamed file 'openoffice.org-sdbc-postgresql.script.bug' => 'openoffice.org-sdbc-postgresql.script.bug.in'
=== renamed file 'openoffice.org-wiki-publisher.script.bug' => 'openoffice.org-wiki-publisher.script.bug.in'
=== modified file 'rules'
--- a/rules	2008-07-01 22:09:08 +0000
+++ b/rules	2008-07-02 11:22:15 +0000
@@ -2411,7 +2411,10 @@
 			install -D -m644 debian/$$i.control.bug \
 				debian/$$i/usr/share/bug/$$i/control; \
 		fi ;\
-		if [ -e debian/$$i.script.bug ]; then \
+		if [ -e debian/$$i.script.bug.in ]; then \
+			cat debian/$$i.script.bug.in \
+				| sed -e "s/@PLATFORMID@/$(PLATFORMID)/" \
+				> debian/$$i.script.bug
 			install -D -m755 debian/$$i.script.bug \
 				debian/$$i/usr/share/bug/$$i/script; \
 		fi ;\
@@ -2839,7 +2842,10 @@
 			install -D -m644 debian/$$i.control.bug \
 				debian/$$i/usr/share/bug/$$i/control; \
 		fi ;\
-		if [ -e debian/$$i.script.bug ]; then \
+		if [ -e debian/$$i.script.bug.in ]; then \
+			cat debian/$$i.script.bug.in \
+				| sed -e "s/@PLATFORMID@/$(PLATFORMID)/" \
+				> debian/$$i.script.bug
 			install -D -m755 debian/$$i.script.bug \
 				debian/$$i/usr/share/bug/$$i/script; \
 		fi ;\


Reply to: