summaryrefslogtreecommitdiff
path: root/pcr/mysql-jdbc/mysql-jdbc.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-07-17 13:44:22 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-07-17 13:44:22 -0500
commita862e308defa54061d1edfb8c08850b54a6393ff (patch)
tree5b8ee7dcdd79766a89d7c4df543e2010efeba418 /pcr/mysql-jdbc/mysql-jdbc.install
parentfdaabb954499a1745415e66d28e8b53bc9d83d74 (diff)
downloadabslibre-a862e308defa54061d1edfb8c08850b54a6393ff.tar.gz
abslibre-a862e308defa54061d1edfb8c08850b54a6393ff.tar.bz2
abslibre-a862e308defa54061d1edfb8c08850b54a6393ff.zip
mysql-jdbc: add new packages to [pcr]
Diffstat (limited to 'pcr/mysql-jdbc/mysql-jdbc.install')
-rw-r--r--pcr/mysql-jdbc/mysql-jdbc.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/pcr/mysql-jdbc/mysql-jdbc.install b/pcr/mysql-jdbc/mysql-jdbc.install
new file mode 100644
index 000000000..00be3f6c7
--- /dev/null
+++ b/pcr/mysql-jdbc/mysql-jdbc.install
@@ -0,0 +1,18 @@
+post_install() {
+ cat<<EOF
+To use the mysql-jdbc with LibreOffice (OpenOffice.org) you must register the class in OO.
+
+1) Open OO by typing soffice
+2) Click on Tools -> Options then expand the OpenOffice.org tree and select java
+3) Click the button 'Class Path' and then 'Add Archive'
+4) Browse to the file mysql-connector-java.jar located in /usr/share/java/mysql-jdbc
+5) Select the file then just click OK
+6) Restart OO to activate changes
+
+Enjoy!
+EOF
+}
+
+post_upgrade() {
+ post_install
+}