]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Skeleton for keyringer_get_option
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 25 Feb 2014 21:28:17 +0000 (18:28 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 25 Feb 2014 21:28:17 +0000 (18:28 -0300)
lib/keyringer/actions/options
lib/keyringer/actions/preferences
lib/keyringer/functions

index 3bf0e4306a7d7199ef16994a1a35273e6bab15a2..b210e1a811a8aa38d89b593c3f155364a35ee204 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# Recipient management.
+# Repository options management.
 #
 
 # Load functions
index f7507a79048b469e81cb2ca292cd89bb4e626c38..114f9ac646e1c22857bca8a318bc7b80ebad1913 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# Manipulate preferences.
+# Manipulate user preferences.
 #
 
 # Load functions
index 4ded3b3ae88dee1aee906d81560c16ccc037f9f2..ec3eb0c715146cce77d14abb8e6a52ddbc0d18f5 100755 (executable)
@@ -408,6 +408,17 @@ function keyringer_upgrade {
   fi
 }
 
+# Get an option
+#
+# Given that options are shared among users through the
+# repository, we can't just "source $OPTIONS" as we would
+# be opening a simple arbitrary code execution hole.
+#
+# TODO
+function keyringer_get_option {
+  false
+}
+
 # Get a file argument
 function keyringer_get_file {
   FILE="$(keyringer_filename "$RELATIVE_PATH/$1")"