aboutsummaryrefslogtreecommitdiff
path: root/share/keyringer/options
diff options
context:
space:
mode:
Diffstat (limited to 'share/keyringer/options')
-rwxr-xr-xshare/keyringer/options30
1 files changed, 0 insertions, 30 deletions
diff --git a/share/keyringer/options b/share/keyringer/options
deleted file mode 100755
index 3047380..0000000
--- a/share/keyringer/options
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-#
-# Recipient management.
-#
-
-# Load functions
-LIB="`dirname $0`/../../lib/keyringer"
-source "$LIB/functions" || exit 1
-
-# Command parser
-keyringer_get_command "$2"
-
-# Create options file if old repository
-if [ ! -e "$OPTIONS" ]; then
- echo "Creating options file..."
- touch "$OPTIONS"
- keyringer_exec git "$BASEDIR" add config/options
-fi
-
-if [ "$COMMAND" == "ls" ]; then
- cat "$OPTIONS"
-elif [ "$COMMAND" == "edit" ]; then
- "$EDITOR" "$OPTIONS"
-elif [ "$COMMAND" == "add" ]; then
- shift 2
- echo $* >> "$OPTIONS"
-else
- printf "%s: No such command %s\n" "$BASENAME" "$COMMAND"
- exit 1
-fi