X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bkmk2db;h=4eae2eb6244e2d3387d5be147e678b65e99a78c6;hb=71f7553119f3efe154d1154dd85f1ceecc46f641;hp=c3c8d20e900f1019bdfa889a4553cdb16b1e0c87;hpb=387f77d110986aa12967c9cd788ab0e4f41f2be2;p=bookmarks_db.git diff --git a/bkmk2db b/bkmk2db index c3c8d20..4eae2eb 100755 --- a/bkmk2db +++ b/bkmk2db @@ -1,13 +1,19 @@ #! /bin/sh +# Convert bookmarks to DB +# +# This file is a part of Bookmarks database and Internet robot. +# +# __author__ = "Oleg Broytman " +# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design" +# __license__ = "GNU GPL" -PATH="$HOME/lib/bookmarks_db:$PATH" -. "$HOME/lib/config/mozilla_home" +. "`dirname \"$0\"`"/set-path if [ ! -f ./bookmarks_db.pickle -a ! -f ./bookmarks_db.flad ]; then if [ -f ./bookmarks.html ]; then BKMK=bookmarks.html - elif [ -f "$mozilla_home/bookmarks.html" ]; then - BKMK="$mozilla_home/bookmarks.html" + elif [ -f "$HOME/.mozilla/bookmarks.html" ]; then + BKMK="$HOME/.mozilla/bookmarks.html" elif [ -f "$HOME/.netscape/bookmarks.html" ]; then BKMK="$HOME/.netscape/bookmarks.html" else