# This file is a part of Bookmarks database and Internet robot.
#
# __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design"
# __license__ = "GNU GPL"
-PATH=$HOME/lib/bookmarks_db:$PATH
+. "`dirname \"$0\"`"/set-path
bkmk2db || exit 1
# This file is a part of Bookmarks database and Internet robot.
#
# __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design"
# __license__ = "GNU GPL"
-PATH="$HOME/lib/bookmarks_db:$PATH"
+. "`dirname \"$0\"`"/set-path
ln -s "$HOME"/Desktop/bookmarks-*.json bookmarks_db.json &&
BKMK_STORAGE=json convert_st.py pickle &&
# This file is a part of Bookmarks database and Internet robot.
#
# __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design"
# __license__ = "GNU GPL"
umask 077
-PATH=$HOME/lib/bookmarks_db:$PATH
+. "`dirname \"$0\"`"/set-path
STARTDIR="`pwd`"
BKMK_FORMAT=NETSCAPE db2bkmk.py -p "Private links" -o bookmarks.html || exit 1
# This file is a part of Bookmarks database and Internet robot.
#
# __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design"
# __license__ = "GNU GPL"
-PATH=$HOME/lib/bookmarks_db:$PATH
+. "`dirname \"$0\"`"/set-path
umask 077
bkmk2db || exit 1
# This file is a part of Bookmarks database and Internet robot.
#
# __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design"
# __license__ = "GNU GPL"
-PATH=$HOME/lib/bookmarks_db:$PATH
+. "`dirname \"$0\"`"/set-path
bkmk2db || exit 1
# This file is a part of Bookmarks database and Internet robot.
#
# __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design"
# __license__ = "GNU GPL"
-PATH="$HOME/lib/bookmarks_db:$PATH"
+. "`dirname \"$0\"`"/set-path
if [ ! -f ./bookmarks_db.pickle -a ! -f ./bookmarks_db.flad ]; then
if [ -f ./bookmarks.html ]; then
-Remove absolute directory ~/lib to make it portable.
-
Switch simple robot to urllib2.
A new robot based on PycURL.
--- /dev/null
+START_DIR="`pwd`"
+cd "`dirname \"$0\"`"
+CWD="`pwd`"
+cd "$START_DIR"
+if echo "$PATH" | grep -vq "\(^\|:\)$CWD\(:\|$\)"; then
+ PATH="$CWD:$PATH"
+fi
+START_DIR=''
+CWD=''
+unset START_DIR CWD
# This file is a part of Bookmarks database and Internet robot.
#
# __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design"
# __license__ = "GNU GPL"
-PATH="$HOME/lib/bookmarks_db:$PATH"
+. "`dirname \"$0\"`"/set-path
set-title-list.py "$@" || exit 1