(Arne Babenhauserheide)
2012-06-18: ask for the host the node runs on, with 127.… as default. ask for the host the node runs on, with 127.… as default.
diff --git a/setup_infocalypse_on_linux.sh b/setup_infocalypse_on_linux.sh --- a/setup_infocalypse_on_linux.sh +++ b/setup_infocalypse_on_linux.sh @@ -3,6 +3,7 @@ # Install and prepare infocalypse on your system. default="$HOME/.local/hgext" +defaulthost="http://127.0.0.1:8888" echo -n "Where do you store your Mercurial plugins? [$default]: " read hgext @@ -10,6 +11,12 @@ hgext="$default" fi +echo -n "On which host does your node run? [$defaulthost]: " +read host +if [ "$host" == "" ]; then + host="$defaulthost" +fi + # enter hgext. Create it if necessary and requested cd $hgext if [ "$?" != "0" ]; then @@ -56,7 +63,7 @@ hg clone http://bitbucket.org/durin42/hg-git hg init infocalypse cd infocalypse -wget http://127.0.0.1:8888/USK@CiKlAk~D2IZ3cJye0R5VPp0nRRUB-zKd6L5hy9qvlkE,qaG86acZQy0I5stLe5wOCt61-GQDT~h-NQ~7C2nl-lc,AQACAAE/infocalypse-for-code-sharing/3/infocalypse.bundle +wget ${host}/USK@CiKlAk~D2IZ3cJye0R5VPp0nRRUB-zKd6L5hy9qvlkE,qaG86acZQy0I5stLe5wOCt61-GQDT~h-NQ~7C2nl-lc,AQACAAE/infocalypse-for-code-sharing/3/infocalypse.bundle hg pull infocalypse.bundle hg update