summaryrefslogtreecommitdiff
path: root/pcr/openjdk6/openjdk6.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-08 00:04:04 -0800
committerroot <root@rshg054.dnsready.net>2013-03-08 00:04:04 -0800
commit129db5c42a9c8f32d88c57ac3b81182acf844068 (patch)
treeaff83aea43093dddb25ddd1b52072b5ebd2723e3 /pcr/openjdk6/openjdk6.install
parentd8d675cb1e75787b0db061756e4cbebe3c5a03fa (diff)
Fri Mar 8 00:04:03 PST 2013
Diffstat (limited to 'pcr/openjdk6/openjdk6.install')
-rw-r--r--pcr/openjdk6/openjdk6.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/openjdk6/openjdk6.install b/pcr/openjdk6/openjdk6.install
new file mode 100644
index 000000000..653c8fe2f
--- /dev/null
+++ b/pcr/openjdk6/openjdk6.install
@@ -0,0 +1,24 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ if [ ! -f /etc/ssl/certs/java/cacerts ]; then
+ /usr/sbin/init-jks-keystore
+ fi
+ echo "when you use a non-reparenting window manager"
+ echo "set _JAVA_AWT_WM_NONREPARENTING=1 in"
+ echo "/etc/profile.d/openjdk6.sh"
+# update-desktop-database -q
+}
+
+post_upgrade() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ if [ ! -f /etc/ssl/certs/java/cacerts ]; then
+ /usr/sbin/init-jks-keystore
+ fi
+# update-desktop-database -q
+}
+
+
+post_remove() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+# update-desktop-database -q
+}