diff --git a/debian/lenny/applications/koffice/debian/rules b/debian/lenny/applications/koffice/debian/rules index 5b73d5bb7..b166e12e4 100755 --- a/debian/lenny/applications/koffice/debian/rules +++ b/debian/lenny/applications/koffice/debian/rules @@ -42,4 +42,7 @@ common-binary-post-install-arch:: usr/share/doc/$$pkg/html; \ fi; \ dh_installmime -p$$pkg; \ + if test -d debian/$$pkg/usr/share/man; then\ + mv debian/$$pkg/usr/share/man debian/$$pkg/opt/trinity/share/; \ + fi; \ done diff --git a/debian/squeeze/applications/koffice/debian/rules b/debian/squeeze/applications/koffice/debian/rules index 5b73d5bb7..b166e12e4 100755 --- a/debian/squeeze/applications/koffice/debian/rules +++ b/debian/squeeze/applications/koffice/debian/rules @@ -42,4 +42,7 @@ common-binary-post-install-arch:: usr/share/doc/$$pkg/html; \ fi; \ dh_installmime -p$$pkg; \ + if test -d debian/$$pkg/usr/share/man; then\ + mv debian/$$pkg/usr/share/man debian/$$pkg/opt/trinity/share/; \ + fi; \ done diff --git a/debian/wheezy/applications/koffice/debian/rules b/debian/wheezy/applications/koffice/debian/rules index 5b73d5bb7..b166e12e4 100755 --- a/debian/wheezy/applications/koffice/debian/rules +++ b/debian/wheezy/applications/koffice/debian/rules @@ -42,4 +42,7 @@ common-binary-post-install-arch:: usr/share/doc/$$pkg/html; \ fi; \ dh_installmime -p$$pkg; \ + if test -d debian/$$pkg/usr/share/man; then\ + mv debian/$$pkg/usr/share/man debian/$$pkg/opt/trinity/share/; \ + fi; \ done diff --git a/ubuntu/maverick/applications/koffice/debian/rules b/ubuntu/maverick/applications/koffice/debian/rules index 5b73d5bb7..b166e12e4 100755 --- a/ubuntu/maverick/applications/koffice/debian/rules +++ b/ubuntu/maverick/applications/koffice/debian/rules @@ -42,4 +42,7 @@ common-binary-post-install-arch:: usr/share/doc/$$pkg/html; \ fi; \ dh_installmime -p$$pkg; \ + if test -d debian/$$pkg/usr/share/man; then\ + mv debian/$$pkg/usr/share/man debian/$$pkg/opt/trinity/share/; \ + fi; \ done diff --git a/ubuntu/precise/applications/koffice/debian/rules b/ubuntu/precise/applications/koffice/debian/rules index 5b73d5bb7..b166e12e4 100755 --- a/ubuntu/precise/applications/koffice/debian/rules +++ b/ubuntu/precise/applications/koffice/debian/rules @@ -42,4 +42,7 @@ common-binary-post-install-arch:: usr/share/doc/$$pkg/html; \ fi; \ dh_installmime -p$$pkg; \ + if test -d debian/$$pkg/usr/share/man; then\ + mv debian/$$pkg/usr/share/man debian/$$pkg/opt/trinity/share/; \ + fi; \ done