summaryrefslogtreecommitdiff
path: root/debian/ooffice
diff options
context:
space:
mode:
authorGravatar Jonathan D Reed <jdreed@mit.edu>2011-08-01 19:12:00 +0000
committerGravatar Jonathan D Reed <jdreed@mit.edu>2011-08-01 19:12:00 +0000
commit3dcb4d53b727353f84382f4c84188d1f291bb6ed (patch)
treea01f16281fc69745c42b080b56b577cff84f69c0 /debian/ooffice
parent9818e2cbb3f52ef353d61a51360cdc8cb06045d8 (diff)
In extra-software:
* Drop dependency on openoffice.org-java-common, since openoffice.org (which we also depend on) depends on openoffice.org-java-common * Conditionally depend on libreoffice and ship a wrapper (for now)
Diffstat (limited to 'debian/ooffice')
-rwxr-xr-xdebian/ooffice16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/ooffice b/debian/ooffice
new file mode 100755
index 0000000..e6f6d2f
--- /dev/null
+++ b/debian/ooffice
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+msg="OpenOffice.org has been renamed to LibreOffice. You can launch it from
+the Applications menu, in the Office category. Or you can launch it by
+typing 'soffice' in the Terminal window."
+
+if [ -n "$DISPLAY" ]; then
+ zenity --info --title="OpenOffice.org Renamed" --no-wrap --text="$msg"
+else
+ cat <<EOF
+OpenOffice.org has been renamed to LibreOffice. You can launch it from
+the Applications menu, in the Office category. Or you can launch it by
+typing 'soffice' in the Terminal window.
+EOF
+fi
+exit 0