diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-02-19 23:42:29 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-02-19 23:42:29 -0300 |
commit | 04b03dd14a0abe02f436f86e3d647f97b3e5522b (patch) | |
tree | 43f7a6d8f957f1d2d117b95ef2db73af174a7252 /lib/keyringer/actions/xclip | |
parent | 9b26f57a726ccb582f41c19c7c3bbcef3225c12d (diff) | |
download | keyringer-04b03dd14a0abe02f436f86e3d647f97b3e5522b.tar.gz keyringer-04b03dd14a0abe02f436f86e3d647f97b3e5522b.tar.bz2 |
Adding xclip action thanks to password-store (2)
Diffstat (limited to 'lib/keyringer/actions/xclip')
-rwxr-xr-x | lib/keyringer/actions/xclip | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/keyringer/actions/xclip b/lib/keyringer/actions/xclip index 414013b..b28984f 100755 --- a/lib/keyringer/actions/xclip +++ b/lib/keyringer/actions/xclip @@ -38,6 +38,12 @@ clip() { LIB="`dirname $0`/../functions" source "$LIB" || exit 1 +# Check for xclip +if ! which xclip; then + echo "fatal: xclip not found" + exit 1 +fi + # Get file keyringer_get_file "$2" |