diff options
-rwxr-xr-x | init.sh | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -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 |