From d13bf2fd6478e324963d3cbfbd19a7078228b9f4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 12 Jun 2022 17:42:07 -0300 Subject: Fix paths --- init.sh | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/init.sh b/init.sh index f3f9b2a..d44410e 100755 --- a/init.sh +++ b/init.sh @@ -1,23 +1,18 @@ #!/usr/bin/env bash export LANG=C -export GROUP=themanaworld -export ALTER=evolved +export GROUP=evolved +export ALTER=mana CMD="$1" -PROTO="git@gitlab.com:" +PROTO="https://git.themanaworld.org/" if [[ -z "${CMD}" ]]; then export CMD="default" fi -STR=$(git remote -v|grep "https://") -if [[ -n "${STR}" ]]; then - export PROTO="https://gitlab.com/" -fi - CLONECMD="git clone --origin upstream" -CLONE1="${CLONECMD} ${PROTO}${GROUP}/${ALTER}" -CLONE2="${CLONECMD} ${PROTO}${GROUP}" +CLONE1="${CLONECMD} ${PROTO}${GROUP}" +CLONE2="${CLONECMD} ${PROTO}${ALTER}" if [[ "${CMD}" == "all" || "${CMD}" == "default" ]]; then ${CLONE1}/clientdata.git client-data @@ -56,7 +51,7 @@ elif [[ "${CMD}" == "plugin" ]]; then # ${CLONE1}/Docs.git docs # ${CLONE1}/Docs.wiki.git wiki elif [[ "${CMD}" == "manaplus" ]]; then - ${CLONE2}/manaplus/manaplus.git manaplus + ${CLONE2}/plus.git manaplus #elif [[ "${CMD}" == "media" ]]; then # ${CLONE1}/art.git art #elif [[ "${CMD}" == "mods" ]]; then @@ -72,5 +67,5 @@ fi # ${CLONE1}/evol-music.git music # ${CLONE1}/mods.git client-data/mods # ln -s music/music client-data/ -# ${CLONE2}manaplus/manaplus.git manaplus +# ${CLONE2}plus.git manaplus #fi -- cgit v1.2.3-70-g09d2