source: oracle-java9-installer/trunk/fuentes/debian/oracle-java9-unlimited-jce-policy.postinst @ 572

Last change on this file since 572 was 572, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 412 bytes
Line 
1#!/bin/sh
2
3set -e
4
5# Folders
6J_INSTALL_DIR=/usr/lib/jvm/java-9-oracle/jre/lib/security/
7J_POLICY_DIR=/usr/lib/jvm/java-9-oracle/jre/lib/security/unlimited_policy
8
9# Copy it to the right dir
10if [ -e /usr/lib/jvm/java-9-oracle/jre/lib/security/unlimited_policy ]; then
11        cp -rf ${J_POLICY_DIR}/*.jar ${J_INSTALL_DIR}
12fi
13
14echo "Unlimited JCE Policy for Oracle Java 9 istalled"
15
16#DEBHELPER#
17
18exit 0
19
20# vim: ts=2 sw=2
Note: See TracBrowser for help on using the repository browser.