]> git.phdru.name Git - bookmarks_db.git/commitdiff
Do not split bookmarks.html into bkmk-koi and bkmk-win.html.
authorOleg Broytman <phd@phdru.name>
Wed, 22 Sep 2004 22:20:56 +0000 (22:20 +0000)
committerOleg Broytman <phd@phdru.name>
Wed, 22 Sep 2004 22:20:56 +0000 (22:20 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@41 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

bkmk-set

index ae38e5815701c778b309aadd2c5585dd11753772..ed249587a52c5007318cf96d984e6ddf399b48e1 100755 (executable)
--- a/bkmk-set
+++ b/bkmk-set
@@ -3,28 +3,23 @@
 umask 077
 
 cd $HOME/work && \
-bkmk-koi -c || exit 1
-
-mv public-koi.tmp bkmk-koi.html && \
-mv public-win.tmp bkmk-win.html && \
-chmod a+r bkmk-koi.html bkmk-win.html bookmark.ht1 || exit 1
+bkmk-koi -c && \
+mv public-koi.tmp bkmk-koi.html && chmod a+r bkmk-koi.html || exit 1
 
 echo "Splitting bookmarks..."
 cd $HOME/Internet/WWW/htdocs/phd.pp.ru/Bookmarks && \
-rm -rf split.koi split.win || exit 1
+rm -rf split || exit 1
 
-$HOME/lib/bookmarks_db/hotexplode.pl -o split.koi $HOME/work/bookmarks.html && \
-cp -p ../../../misc/nopasswd-index.html split.koi/privatelinks/index.html && \
-$HOME/lib/bookmarks_db/hotexplode.pl -o split.win $HOME/work/private-win.tmp && \
-cp -p ../../../misc/nopasswd-index.html split.win/privatelinks/index.html || exit 1
+$HOME/lib/bookmarks_db/hotexplode.pl -o split $HOME/work/bookmarks.html && \
+cp -p ../../../misc/nopasswd-index.html split/privatelinks/index.html || exit 1
 
-cp -p $HOME/work/bkmk-koi.html $HOME/work/bkmk-win.html . && \
-chmod -R a+rX . || exit 1
+cp -p $HOME/work/bkmk-koi.html bookmarks.html && chmod -R a+rX . || exit 1
 
 #/usr/local/htdig/bkmk.sh
 
 cd $HOME/work && \
-exec rm -f header bookmarks.err bookmarks_db.pickle bookmarks_db.flad private-win.tmp
+exec rm -f header bookmarks.err bookmarks_db.pickle bookmarks_db.flad \
+   private-win.tmp public-win.tmp
 
 #zip -9 bkmk bkmk-koi.html bkmk-win.html && \
 #rm -f bkmk-win.html && \