summaryrefslogtreecommitdiff
path: root/libre/java7-openjdk/jdk7-openjdk.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/java7-openjdk/jdk7-openjdk.install')
-rw-r--r--libre/java7-openjdk/jdk7-openjdk.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/libre/java7-openjdk/jdk7-openjdk.install b/libre/java7-openjdk/jdk7-openjdk.install
index 4ccceac29..647a6f4d5 100644
--- a/libre/java7-openjdk/jdk7-openjdk.install
+++ b/libre/java7-openjdk/jdk7-openjdk.install
@@ -42,9 +42,9 @@ post_upgrade() {
pre_remove() {
if [ "x$(fix_default)" = "x${THIS_JDK}" ]; then
- sudo /usr/bin/parabola-java unset
+ /usr/bin/parabola-java unset
if [ -x /usr/lib/jvm/${THIS_JDK}/jre/bin/java ]; then
- sudo /usr/bin/parabola-java set ${THIS_JDK}/jre
+ /usr/bin/parabola-java set ${THIS_JDK}/jre
fi
fi
}