diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2003-10-11 05:16:50 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2003-10-11 05:16:50 +0000 |
commit | 4bb0df0d3b7b07ee78ff0e87261210d9c4cb0a41 (patch) | |
tree | 1dfb26d019a88e072702f8b4311f6a33f1ac1373 /java/jdk15/files/pkg-install.in | |
parent | . Unset -Werror when compiling the NIO stuff. GCC 3.3.1 tends to generate (diff) |
. Update to 1.4.1p4.
. Use ${PTHREAD_LIBS} rather than -pthread or -lc_r.
. Install system preferences to avoid annoying and constant error messages.
Approved by: phantom (the update, anyway)
Notes
Notes:
svn path=/head/; revision=90830
Diffstat (limited to 'java/jdk15/files/pkg-install.in')
-rw-r--r-- | java/jdk15/files/pkg-install.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/java/jdk15/files/pkg-install.in b/java/jdk15/files/pkg-install.in new file mode 100644 index 000000000000..fa980a9778f0 --- /dev/null +++ b/java/jdk15/files/pkg-install.in @@ -0,0 +1,19 @@ +#!/bin/sh + +# System preference location +PREFS_LOCATION=%%JRE_HOME%% + +# Set up system preferences during post install +if [ "$2" = "POST-INSTALL" ]; then + if [ ! -d "${PREFS_LOCATION}/.systemPrefs" ] ; then + mkdir -m 755 "${PREFS_LOCATION}/.systemPrefs" + fi + if [ ! -f "${PREFS_LOCATION}/.systemPrefs/.system.lock" ] ; then + touch "${PREFS_LOCATION}/.systemPrefs/.system.lock" + chmod 644 "${PREFS_LOCATION}/.systemPrefs/.system.lock" + fi + if [ ! -f "${PREFS_LOCATION}/.systemPrefs/.systemRootModFile" ] ; then + touch "${PREFS_LOCATION}/.systemPrefs/.systemRootModFile" + chmod 644 "${PREFS_LOCATION}/.systemPrefs/.systemRootModFile" + fi +fi |