summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/seahorse-plugins/files/70-seahorse-agent')
-rw-r--r--app-crypt/seahorse-plugins/files/70-seahorse-agent8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-crypt/seahorse-plugins/files/70-seahorse-agent b/app-crypt/seahorse-plugins/files/70-seahorse-agent
new file mode 100644
index 0000000..492878e
--- /dev/null
+++ b/app-crypt/seahorse-plugins/files/70-seahorse-agent
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# launches a seahorse-agent instance
+
+seahorseagent=`which seahorse-agent 2> /dev/null`
+if [ -n "$seahorseagent" ] && [ -x "$seahorseagent" ] && [ -z "$GPG_AGENT_INFO" ] ; then
+ command="$seahorseagent --execute $command"
+fi