summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-06-12 17:42:07 -0300
committerJesusaves <cpntb1@ymail.com>2022-06-12 17:42:07 -0300
commitd13bf2fd6478e324963d3cbfbd19a7078228b9f4 (patch)
tree9c961085bb07e5234ffdcc5162e7db19ddb10163
parente3202e7c9d6d4e528dd282ee6d139ab32a3f32b6 (diff)
downloadall-d13bf2fd6478e324963d3cbfbd19a7078228b9f4.tar.gz
all-d13bf2fd6478e324963d3cbfbd19a7078228b9f4.tar.bz2
all-d13bf2fd6478e324963d3cbfbd19a7078228b9f4.tar.xz
all-d13bf2fd6478e324963d3cbfbd19a7078228b9f4.zip
Fix paths
-rwxr-xr-xinit.sh19
1 files 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