Check-in [c0fe686fe4]
Not logged in
Overview
Comment:repository URL specific download script
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c0fe686fe4c91462bc0185fd1d9a10d2b9585f5f
User & Date: martin_vahi on 2016-10-29 18:19:58
Other Links: manifest | tags
Context
2016-10-29 18:21
bugfix check-in: 2b3fc88e27 user: martin_vahi tags: trunk
2016-10-29 18:19
repository URL specific download script check-in: c0fe686fe4 user: martin_vahi tags: trunk
2016-09-05 00:34
update to mmmv_Fossil_operator_t1.bash check-in: d6f691d449 user: martin_vahi tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Added work_in_progress/download_Silkotrrent_repository_and_run_local_web_server.bash version [a27b156ae2].

            1  +#!/usr/bin/env bash
            2  +# Initial author: martin.vahi@softf1.com
            3  +# This file is in public domain.
            4  +# For  further information please see
            5  +#
            6  +#     http://www.silktorrent.ch 
            7  +#
            8  +#=========================================================================
            9  +S_FP_ORIG="`pwd`"
           10  +#-------------------------------------------------------------------------
           11  +
           12  +func_mmmv_exit_if_not_on_path_t2() { # S_COMMAND_NAME
           13  +    local S_COMMAND_NAME=$1
           14  +    local S_LOCAL_VARIABLE="`which $S_COMMAND_NAME 2>/dev/null`"
           15  +    if [ "$S_LOCAL_VARIABLE" == "" ]; then
           16  +        echo ""
           17  +        echo "Command \"$S_COMMAND_NAME\" could not be found from the PATH. "
           18  +        echo "The Fossil source code might be available from a link at "
           19  +        echo "http://www.softf1.com/cgi-bin/tree1/technology/flaws/silktorrent.bash/wiki?name=Fossil+Repository+Related+Links+and+Comments"
           20  +        echo ""
           21  +        echo "The execution of the Bash script is aborted."
           22  +        echo "GUID=='3f7ad84e-e0f2-45c8-94e7-217051d1a0e7'"
           23  +        echo ""
           24  +        #--------
           25  +        cd $S_FP_ORIG
           26  +        exit 1; # exit with an error
           27  +    fi
           28  +} # func_mmmv_exit_if_not_on_path_t2
           29  +
           30  +func_mmmv_exit_if_not_on_path_t2 "fossil"
           31  +
           32  +#-------------------------------------------------------------------------
           33  +
           34  +    mkdir ./stuff
           35  +    cd ./stuff
           36  +    wget http://www.softf1.com/cgi-bin/tree1/technology/flaws/silktorrent.bash/raw/work_in_progress/mmmv_Fossil_operator_t1.bash?name=ebb536fdad89b21bd6180652275b3571b3ab4cef --output-document=`pwd`/mmmv_Fossil_operator_t1.bash
           37  +    echo ""
           38  +    echo "Now it will probably take a while, because it needs to dowload ~500MiB of files."
           39  +    echo ""
           40  +    bash ./mmmv_Fossil_operator_t1.bash clone_public http://www.softf1.com/cgi-bin/tree1/technology/flaws/silktorrent.bash/
           41  +    fossil ui `pwd`/repository_storage.fossil # Runs a Fossil web server at localhost
           42  +                                              # and opens the default web browser.
           43  +
           44  +#-------------------------------------------------------------------------
           45  +cd #S_FP_ORIG
           46  +#=========================================================================
           47  +