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

Last change on this file since 6504 was 6504, checked in by mabarracus, 2 years ago

Initial commit oracle-jdk9-x64-installer

File size: 424 bytes
Line 
1#!/bin/sh
2
3set -e
4
5# Folders
6J_INSTALL_DIR=/usr/lib/jvm/java-9-x64-oracle/jre/lib/security/
7J_POLICY_DIR=/usr/lib/jvm/java-9-x64-oracle/jre/lib/security/unlimited_policy
8
9# Copy it to the right dir
10if [ -e /usr/lib/jvm/java-9-x64-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.