diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-06-12 17:42:07 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-06-12 17:42:07 -0300 |
commit | d13bf2fd6478e324963d3cbfbd19a7078228b9f4 (patch) | |
tree | 9c961085bb07e5234ffdcc5162e7db19ddb10163 | |
parent | e3202e7c9d6d4e528dd282ee6d139ab32a3f32b6 (diff) | |
download | all-d13bf2fd6478e324963d3cbfbd19a7078228b9f4.tar.gz all-d13bf2fd6478e324963d3cbfbd19a7078228b9f4.tar.bz2 all-d13bf2fd6478e324963d3cbfbd19a7078228b9f4.tar.xz all-d13bf2fd6478e324963d3cbfbd19a7078228b9f4.zip |
Fix paths
-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 |