[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: preset bookmarks



> > So maybe something like this is the way to go.  Add something like this
> > to /etc/kde2/kde2.sh 
> > 
> > konq_dir="$kdehome/share/apps/konqueror"
> > if [ ! -d "$konq_dir" ]; then
> > 	mkdir -p "$konq_dir"
> > 	cp /etc/kde2/bookmarks.xml "$konp_dir/"
> > fi
> 
> Sorry to followup myself, but the '! -d' check is too simple.
> One has to check that $kdehome/share/apps/kfm/bookmark/ is empty
> and, if bookmark.xml exists, that it's equal to '<!DOCTYPE xbel ><xbel/>'
> before one copies a default bookmarks.xml.

what happens if $kdehome/share/apps/kfm/bookmark/ isn't empty and 
$kdehome/share/apps/konqueror/bookmarks.xml is created by the kde2 script?

hmm...guess I should just go see... :)

-- 
----------------
Ivan E. Moore II
rkrusty@tdyc.com
http://snowcrash.tdyc.com
GPG KeyID=90BCE0DD
GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD



Reply to: