summaryrefslogtreecommitdiff
path: root/examples/hooks/sun-java5.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-01-23 23:02:52 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:40 +0100
commit1a4ff3e443d5034ae8efadb0407904f1f51a519c (patch)
treec7838d5eaaff66228dfcf56228817e63e8da5bb5 /examples/hooks/sun-java5.sh
parent6193ef2285f90e23b28fae5c1a43f7ffaa710f21 (diff)
downloadvyos-live-build-1a4ff3e443d5034ae8efadb0407904f1f51a519c.tar.gz
vyos-live-build-1a4ff3e443d5034ae8efadb0407904f1f51a519c.zip
Making sure that /tmp has the right permissions after installing sun-java*-doc through sun-java example hooks. Apparently, sun-java*-doc packages are tampering with it.
Diffstat (limited to 'examples/hooks/sun-java5.sh')
-rwxr-xr-xexamples/hooks/sun-java5.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/hooks/sun-java5.sh b/examples/hooks/sun-java5.sh
index e38ebaa32..139efd5ee 100755
--- a/examples/hooks/sun-java5.sh
+++ b/examples/hooks/sun-java5.sh
@@ -22,3 +22,7 @@
DEBIAN_FRONTEND="dialog" apt-get install --yes sun-java5-bin sun-java5-demo \
sun-java5-doc sun-java5-fonts sun-java5-jdk sun-java5-jre \
sun-java5-plugin sun-java5-source
+
+# Ensure that /tmp has the right permissions; apparently sun-java5-doc tampers
+# with it
+chmod 1777 /tmp