]> git.phdru.name Git - bookmarks_db.git/commitdiff
Exit early, exit often.
authorOleg Broytman <phd@phdru.name>
Fri, 7 Sep 2007 14:08:28 +0000 (14:08 +0000)
committerOleg Broytman <phd@phdru.name>
Fri, 7 Sep 2007 14:08:28 +0000 (14:08 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@64 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

bkmk-koi

index ef80df199f1393ede2ab225d8322c7e13db4db25..24b378de8bc34b1273f3117c669cc3e9cc74bbc7 100755 (executable)
--- a/bkmk-koi
+++ b/bkmk-koi
@@ -11,6 +11,8 @@ export BKMK_NSFORMAT
 db2bkmk.py || exit 1
 db2bkmk.py -p "Private links" -o public-koi.tmp || exit 1
 
+exit 0
+
 db2bkmk.py -t $HOME/lib/bookmarks_db/koi2win.db -o private-win.tmp || exit 1
 db2bkmk.py -t $HOME/lib/bookmarks_db/koi2win.db -p "Private links" -o public-win.tmp || exit 1
 
@@ -28,9 +30,11 @@ replace public-win.tmp  http://koi.postman.ru/ http://win.postman.ru/
 towin < private-win.tmp > bookmark.ht0
 towin < public-win.tmp  > bookmark.ht1
 
-#diff $HOME/.netscape/bookmarks.html bookmarks.html > diff.out
-#
-#if [ "$1" = "-c" ]; then
-#   echo -n "Copying to home: "
-#   cp -p bookmarks.html $HOME/.netscape/bookmarks.html && echo "Ok"
-#fi
+exit 0
+
+diff $HOME/.netscape/bookmarks.html bookmarks.html > diff.out
+
+if [ "$1" = "-c" ]; then
+   echo -n "Copying to home: "
+   cp -p bookmarks.html $HOME/.netscape/bookmarks.html && echo "Ok"
+fi