http://rzr.online.fr/q/offline# which websites will you copy cache using #Httrack on #MeeGo #Harmattan for #n9 !n950 ? I am about to #travel
Httrack needs to be installed and fixed as follow :
1st read http://rzr.online.fr/q/harmattan
then FeedBack
sudo apt-get install webhttrack sudo ln -fs ../../usr/bin/grob /etc/alternatives/x-www-browser sudo ln -fs ../../etc/alternatives/x-www-browser /usr/bin/x-www-browser sudo cp /usr/bin/webhttrack /usr/local/bin/webhttrack.orig sudo cp -av /usr/local/bin/webhttrack /usr/local/bin/webhttrack.mine sudo ln -fs /usr/local/bin/webhttrack /usr/bin/webhttrack now some fix should be applied : mktemp -d /var/tmp/tmp.BjrViR diff /usr/local/bin/webhttrack.orig /usr/local/bin/webhttrack.mine --- /usr/local/bin/webhttrack.orig +++ /usr/local/bin/webhttrack.mine @@ -54,7 +54,7 @@ user_name=`id -un` fi if test -n "${user_name}"; then -ps -e -U "$user_name" | grep -E "(iceape|mozilla|netscape|firebird|firefox)" | grep -qv "grep -E" +ps -e "$user_name" | grep -E "(iceape|mozilla|netscape|firebird|firefox)" | grep -qv "grep -E" else false fi @@ -161,7 +161,7 @@ fi # Create a temporary filename -TMPSRVFILE="/tmp/.webhttrack.$$.`head -c16 /dev/random | md5sum | cut -f1 -d' '`" +TMPSRVFILE="/tmp/.webhttrack.$$.`dd if=/dev/random bs=1 count=15 | md5sum | cut -f1 -d' '`" >${TMPSRVFILE} || ! log "cound not create the temporary file ${TMPSRVFILE}" || exit 1 # Launch htsserver binary and setup the server (${BINPATH}/htsserver "${DISTPATH}/" path "${HOME}/websites" lang "${LANGN}" $@; echo SRVURL=error) > ${TMPSRVFILE}& mkdir -p MyDocs/local/websites ln -fs MyDocs/local/websites ~/ bash -x webhttrack