#! /bin/sh
+# Add a bookmark directly to the DB
+#
+# This file is a part of Bookmarks database and Internet robot.
+#
+# __author__ = "Oleg Broytman <phd@phdru.name>"
+# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design"
+# __license__ = "GNU GPL"
-PATH=$HOME/lib/bookmarks_db:$PATH
+. "`dirname \"$0\"`"/set-path
bkmk2db || exit 1
-bkmk-add.py "$@" && \
-db2bkmk.py && \
+bkmk-add.py "$@" &&
+db2bkmk.py &&
exec touch bookmarks_db.pickle # to make it more recent