From be9f8396ccc705bb14facd1f142cce52b0d0cd94 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 19 Nov 2010 21:08:20 +0000 Subject: added create-symlinks.sh --- create-symlinks.sh | 15 +++++++++++++++ pwgrep.sh | 18 +++--------------- 2 files changed, 18 insertions(+), 15 deletions(-) create mode 100755 create-symlinks.sh diff --git a/create-symlinks.sh b/create-symlinks.sh new file mode 100755 index 0000000..4270052 --- /dev/null +++ b/create-symlinks.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +mkdir -p ~bin + +ln -s $(pwd)/pwgrep.sh ~/bin/fwipe +ln -s $(pwd)/pwgrep.sh ~/bin/pwdbls +ln -s $(pwd)/pwgrep.sh ~/bin/pwedit +ln -s $(pwd)/pwgrep.sh ~/bin/pwfadd +ln -s $(pwd)/pwgrep.sh ~/bin/pwfcat +ln -s $(pwd)/pwgrep.sh ~/bin/pwfdel +ln -s $(pwd)/pwgrep.sh ~/bin/pwfls +ln -s $(pwd)/pwgrep.sh ~/bin/pwgrep +ln -s $(pwd)/pwgrep.sh ~/bin/pwhelp +ln -s $(pwd)/pwgrep.sh ~/bin/pwldb +ln -s $(pwd)/pwgrep.sh ~/bin/pwupdate diff --git a/pwgrep.sh b/pwgrep.sh index 319471b..27d5d9c 100755 --- a/pwgrep.sh +++ b/pwgrep.sh @@ -1,6 +1,6 @@ #!/bin/bash -# pwgrep v0.8-pre (c) 2009, 2010 by Paul Buetow +# pwgrep v0.8-pre-2 (c) 2009, 2010 by Paul Buetow # pwgrep helps you to manage all your passwords using GnuGP # for encryption and a versioning system (subversion by default) # for keeping track all changes of your password database. In @@ -17,20 +17,8 @@ # Editing the database (same but without args): # ./pwgrep.sh # -# For more reasonable commands the following symlinks are recommended: -# ln -s ~/svn/pwgrep/v?.?/pwgrep.sh ~/bin/fwipe -# ln -s ~/svn/pwgrep/v?.?/pwgrep.sh ~/bin/pwdbls -# ln -s ~/svn/pwgrep/v?.?/pwgrep.sh ~/bin/pwedit -# ln -s ~/svn/pwgrep/v?.?/pwgrep.sh ~/bin/pwfadd -# ln -s ~/svn/pwgrep/v?.?/pwgrep.sh ~/bin/pwfcat -# ln -s ~/svn/pwgrep/v?.?/pwgrep.sh ~/bin/pwfdel -# ln -s ~/svn/pwgrep/v?.?/pwgrep.sh ~/bin/pwfls -# ln -s ~/svn/pwgrep/v?.?/pwgrep.sh ~/bin/pwgrep -# ln -s ~/svn/pwgrep/v?.?/pwgrep.sh ~/bin/pwhelp -# ln -s ~/svn/pwgrep/v?.?/pwgrep.sh ~/bin/pwldb -# ln -s ~/svn/pwgrep/v?.?/pwgrep.sh ~/bin/pwupdate -# Replace ?.? with the version of pwgrep you want to use. Your PATH -# variable should also include ~/bin then. +# For more reasonable commands the following symlinks are recommended. +# Take a look at the create-symlinks.sh script. # You can overwrite the default values by setting env. variables # or by just editing this file. -- cgit v1.2.3