Commit 564cda45 authored by Lorenzo Martinico's avatar Lorenzo Martinico Committed by Thomas Gambier

Set upstream install repository as Nexedi's gitlab

parent 7efaf017
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
set -e set -e
#chromebrew directories #chromebrew directories
OWNER="${OWNER:-skycocker}" OWNER="nexedi"
REPO="${REPO:-chromebrew}" REPO="chromebrew"
BRANCH="${BRANCH:-master}" BRANCH="master"
URL="https://raw.githubusercontent.com/${OWNER}/${REPO}/${BRANCH}" URL="https://lab.nexedi.com/${OWNER}/${REPO}/raw/${BRANCH}"
CREW_PREFIX="${CREW_PREFIX:-/usr/local}" CREW_PREFIX="${CREW_PREFIX:-/usr/local}"
CREW_LIB_PATH="${CREW_PREFIX}/lib/crew" CREW_LIB_PATH="${CREW_PREFIX}/lib/crew"
CREW_CONFIG_PATH="${CREW_PREFIX}/etc/crew" CREW_CONFIG_PATH="${CREW_PREFIX}/etc/crew"
...@@ -214,7 +214,7 @@ rm -rf "${CREW_LIB_PATH}" ...@@ -214,7 +214,7 @@ rm -rf "${CREW_LIB_PATH}"
# Do a minimal clone, which also sets origin to the master/main branch # Do a minimal clone, which also sets origin to the master/main branch
# by default. For more on why this setup might be useful see: # by default. For more on why this setup might be useful see:
# https://github.blog/2020-01-17-bring-your-monorepo-down-to-size-with-sparse-checkout/ # https://github.blog/2020-01-17-bring-your-monorepo-down-to-size-with-sparse-checkout/
git clone --depth=1 --filter=blob:none --no-checkout "https://github.com/${OWNER}/${REPO}.git" "${CREW_LIB_PATH}" git clone --depth=1 --filter=blob:none --no-checkout "https://lab.nexedi.com/${OWNER}/${REPO}.git" "${CREW_LIB_PATH}"
cd "${CREW_LIB_PATH}" cd "${CREW_LIB_PATH}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment