summaryrefslogtreecommitdiffstats
path: root/abs/core/java-sun/jre.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:47:10 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:47:10 (GMT)
commit201fe966da169b03054b33c44f52f8c59545eba9 (patch)
tree011bdb4ae2d4f38839b6ff5acc36d30eacf531ab /abs/core/java-sun/jre.install
parent56ddd2eef141c0c684bb25bdc833bf605c1b08c5 (diff)
downloadlinhes_pkgbuild-201fe966da169b03054b33c44f52f8c59545eba9.zip
linhes_pkgbuild-201fe966da169b03054b33c44f52f8c59545eba9.tar.gz
linhes_pkgbuild-201fe966da169b03054b33c44f52f8c59545eba9.tar.bz2
java-sun remove
Diffstat (limited to 'abs/core/java-sun/jre.install')
-rw-r--r--abs/core/java-sun/jre.install24
1 files changed, 0 insertions, 24 deletions
diff --git a/abs/core/java-sun/jre.install b/abs/core/java-sun/jre.install
deleted file mode 100644
index 7dfc547..0000000
--- a/abs/core/java-sun/jre.install
+++ /dev/null
@@ -1,24 +0,0 @@
-post_upgrade() {
- post_install $1
-}
-
-post_install() {
- echo "The jre package is licensed software."
- echo "You MUST read and agree to the license stored in"
- echo "/opt/java/jre/LICENSE before using it."
- if [ -f /etc/mailcap ] ; then
- sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap
- fi
- echo 'application/x-java-jnlp-file;/opt/java/jre/bin/javaws %s' >>/etc/mailcap
-
- echo 'Please relogin to include jre in your PATH.'
-}
-
-post_remove() {
- mailcap=$(grep -v 'application/x-java-jnlp-file' /etc/mailcap)
- if [ "$mailcap" != "" ] ; then
- sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap
- else
- rm /etc/mailcap
- fi
-}