summaryrefslogtreecommitdiffstats
path: root/abs/extra/java-sun/jre.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-11-11 15:19:51 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-11-11 15:19:51 (GMT)
commit7938c8e91741003d9b87347311f36c6c9cc24dea (patch)
treec9fa2dff543f1377f0053bf7c94ee490261dd039 /abs/extra/java-sun/jre.install
parent7effbc65b427f6590dd9112b1fa08b7a1c9628b4 (diff)
downloadlinhes_pkgbuild-7938c8e91741003d9b87347311f36c6c9cc24dea.zip
linhes_pkgbuild-7938c8e91741003d9b87347311f36c6c9cc24dea.tar.gz
linhes_pkgbuild-7938c8e91741003d9b87347311f36c6c9cc24dea.tar.bz2
removed a bunch of duplicates
postgresql samba cups libmng xorg-utils-macro java
Diffstat (limited to 'abs/extra/java-sun/jre.install')
-rw-r--r--abs/extra/java-sun/jre.install22
1 files changed, 0 insertions, 22 deletions
diff --git a/abs/extra/java-sun/jre.install b/abs/extra/java-sun/jre.install
deleted file mode 100644
index 41e698f..0000000
--- a/abs/extra/java-sun/jre.install
+++ /dev/null
@@ -1,22 +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
-}
-
-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
-}