Skip to content

Commit

Permalink
add backup Gitlab source repository to Github git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Jun 17, 2015
1 parent f1de174 commit 0e5b9a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions centmin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,14 @@ if [ ! -d "/home/mysqltmp" ]; then
CHOWNMYSQL=y
fi

#####################################################
# Centmin Mod Git Repo URL - primary repo
# https://github.com/centminmod/centminmod
CMGIT='https://github.com/centminmod/centminmod.git'
# Gitlab backup repo
# https://gitlab.com/centminmod/centminmod
#CMGIT='https://gitlab.com/centminmod/centminmod.git'

#####################################################
# Timestamp Install
TS_INSTALL='y'
Expand Down
4 changes: 2 additions & 2 deletions inc/updater_submenu.inc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ centminlog

echo
cecho "download github.com centmin mod ${branchname} branch repo" $boldyellow
git clone https://github.com/centminmod/centminmod.git centminmod-${branchname}
git clone ${CMGIT} centminmod-${branchname}
cd centminmod-${branchname}
git checkout -f ${branchname}
chmod +x centmin.sh
Expand Down Expand Up @@ -119,7 +119,7 @@ if [[ -d "${SCRIPT_DIR}/.git" ]]; then

echo
cecho "download github.com centmin mod ${branchname} branch repo" $boldyellow
git clone https://github.com/centminmod/centminmod.git centminmod-${branchname}
git clone ${CMGIT} centminmod-${branchname}
cd centminmod-${branchname} 2>/dev/null
git checkout -f ${branchname}
chmod +x centmin.sh
Expand Down

0 comments on commit 0e5b9a6

Please sign in to comment.