[arch-commits] Commit in java7-openjdk/trunk (jdk7-openjdk.install)
Guillaume Alaux
guillaume at archlinux.org
Sun Mar 1 16:35:13 UTC 2015
Date: Sunday, March 1, 2015 @ 17:35:12
Author: guillaume
Revision: 232379
Fix FS#43896 Usage of "sudo" in install script
Modified:
java7-openjdk/trunk/jdk7-openjdk.install
----------------------+
jdk7-openjdk.install | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: jdk7-openjdk.install
===================================================================
--- jdk7-openjdk.install 2015-03-01 16:21:11 UTC (rev 232378)
+++ jdk7-openjdk.install 2015-03-01 16:35:12 UTC (rev 232379)
@@ -42,9 +42,9 @@
pre_remove() {
if [ "x$(fix_default)" = "x${THIS_JDK}" ]; then
- sudo /usr/bin/archlinux-java unset
+ /usr/bin/archlinux-java unset
if [ -x /usr/lib/jvm/${THIS_JDK}/jre/bin/java ]; then
- sudo /usr/bin/archlinux-java set ${THIS_JDK}/jre
+ /usr/bin/archlinux-java set ${THIS_JDK}/jre
fi
fi
}
More information about the arch-commits
mailing list