From 937536e83a89f71eb776c14ad33dc2fa93fe75dc Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 22 Sep 2004 22:20:56 +0000 Subject: [PATCH] Do not split bookmarks.html into bkmk-koi and bkmk-win.html. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@41 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- bkmk-set | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/bkmk-set b/bkmk-set index ae38e58..ed24958 100755 --- 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 && \ -- 2.39.5