summarylogtreecommitdiffstats
path: root/opengts.install
blob: 38c18334e521af8d85b20a617c45152a3f0a0204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# arg 1:  the new package version
_javaclasspath="/usr/lib/jvm/java-7-openjdk/jre/lib/ext/"

post_install() {
  ln -s -r /usr/share/java/gnumail.jar ${_javaclasspath}
  ln -s -r /usr/share/java/mysql-jdbc/mysql-connector-java-bin.jar ${_javaclasspath}
  echo "Please follow the pdf guide file in /opt/opengts"
}

post_remove() {
  rm ${_javaclasspath}/gnumail.jar
  rm ${_javaclasspath}/mysql-connector-java-bin.jar
}