Remove depth=1
This commit is contained in:
@@ -42,7 +42,7 @@ update_ocb() {
|
|||||||
printf "\n%s\n" "Start updating OCB..."
|
printf "\n%s\n" "Start updating OCB..."
|
||||||
|
|
||||||
echo "Entering: ${ocb_install_path}" >&2
|
echo "Entering: ${ocb_install_path}" >&2
|
||||||
cd ${ocb_install_path} && git pull --depth=1
|
cd ${ocb_install_path} && git pull
|
||||||
exit_code=$?
|
exit_code=$?
|
||||||
if [[ "${exit_code}" -ne 0 ]]; then
|
if [[ "${exit_code}" -ne 0 ]]; then
|
||||||
printf "${color_danger}%s${color_end},\n" "Error! Something was wrong updating OCB..."
|
printf "${color_danger}%s${color_end},\n" "Error! Something was wrong updating OCB..."
|
||||||
@@ -85,7 +85,7 @@ update_oca_repos() {
|
|||||||
|
|
||||||
for repo in $@; do
|
for repo in $@; do
|
||||||
echo "Entering: ${oca_addons_install_path}/${repo}" >&2
|
echo "Entering: ${oca_addons_install_path}/${repo}" >&2
|
||||||
cd ${oca_addons_install_path}/${repo} && git pull --depth=1
|
cd ${oca_addons_install_path}/${repo} && git pull
|
||||||
exit_code=$?
|
exit_code=$?
|
||||||
if [[ "${exit_code}" -ne 0 ]]; then
|
if [[ "${exit_code}" -ne 0 ]]; then
|
||||||
printf "${color_danger}%s${color_end},\n" "Error! Something was wrong updating ${repo} repository..."
|
printf "${color_danger}%s${color_end},\n" "Error! Something was wrong updating ${repo} repository..."
|
||||||
@@ -130,7 +130,7 @@ clone_repos() {
|
|||||||
printf "${color_warning}%b${color_end},\n" "Repo ${repo} already exist! Skipped..."
|
printf "${color_warning}%b${color_end},\n" "Repo ${repo} already exist! Skipped..."
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
cd ${oca_addons_install_path} && git clone https://github.com/OCA/${repo}.git --branch ${odoo_version} --single-branch --depth=1
|
cd ${oca_addons_install_path} && git clone https://github.com/OCA/${repo}.git --branch ${odoo_version} --single-branch
|
||||||
if [[ "${?}" -ne 0 ]]; then
|
if [[ "${?}" -ne 0 ]]; then
|
||||||
printf "${color_danger}%s${color_end},\n" "Error! Something was wrong cloning ${repo} repository..."
|
printf "${color_danger}%s${color_end},\n" "Error! Something was wrong cloning ${repo} repository..."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user