summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcreate-symlinks.sh15
-rwxr-xr-xpwgrep.sh18
2 files changed, 18 insertions, 15 deletions
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.