aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2011-09-06 14:51:06 +0000
committerRalph Sennhauser <sera@gentoo.org>2011-09-06 14:51:06 +0000
commit12e120523bb9bc9a4f60c00a0afd85e5519d38b4 (patch)
treea2c1311244c49a0a696f2373a7813d44297d5bc7
parentAdd update action to eselect java-nsplugin (diff)
downloadjava-config-12e120523bb9bc9a4f60c00a0afd85e5519d38b4.tar.gz
java-config-12e120523bb9bc9a4f60c00a0afd85e5519d38b4.tar.bz2
java-config-12e120523bb9bc9a4f60c00a0afd85e5519d38b4.zip
Fix vim line for eselct modules. Add describe_set_parameters and describe_set_options to eselect java-nsplugin
svn path=/projects/java-config-2/branches/generation3-support/; revision=8775
-rw-r--r--src/eselect/java-nsplugin.eselect19
-rw-r--r--src/eselect/java-vm.eselect3
2 files changed, 18 insertions, 4 deletions
diff --git a/src/eselect/java-nsplugin.eselect b/src/eselect/java-nsplugin.eselect
index 708ff3c..e9af67d 100644
--- a/src/eselect/java-nsplugin.eselect
+++ b/src/eselect/java-nsplugin.eselect
@@ -1,3 +1,4 @@
+# -*-eselect-*- vim: ft=eselect
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: $
@@ -111,6 +112,22 @@ is_multilib() {
echo "Set the system Java browser plugin"
}
+ describe_set_parameters() {
+ if is_multilib; then
+ echo "<32bit|64bit> <plugin>"
+ else
+ echo "<plugin>"
+ fi
+ }
+
+ describe_set_options() {
+ if is_multilib; then
+ echo "32bit : Set the 32bit plugin"
+ echo "64bit : Set the 64bit plugin"
+ fi
+ echo "plugin : Handle or number in plugin list"
+ }
+
do_set() {
if ! is_multilib; then
if [[ ${#} != 1 ]] ; then
@@ -264,5 +281,3 @@ do_update() {
fi
fi
}
-
-# vim: ts=4 sw=4 noet fdm=marker
diff --git a/src/eselect/java-vm.eselect b/src/eselect/java-vm.eselect
index 81d0925..7e20c0c 100644
--- a/src/eselect/java-vm.eselect
+++ b/src/eselect/java-vm.eselect
@@ -1,3 +1,4 @@
+# -*-eselect-*- vim: ft=eselect
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: $
@@ -195,5 +196,3 @@ do_update() {
echo "System VM already set, nothing to do."
fi
}
-
-# vim: set ft=eselect :