Update oca-repos-manager.sh
This commit is contained in:
@@ -130,7 +130,7 @@ clone_repos() {
|
||||
printf "${color_warning}%b${color_end},\n" "Repo ${repo} already exist! Skipped..."
|
||||
continue
|
||||
fi
|
||||
cd ${oca_addons_install_path} && git clone https://github.com/OCA/${repo}.git --branch ${odoo_version} --single-branch
|
||||
cd ${oca_addons_install_path} && git clone https://github.com/OCA/${repo}.git --branch ${odoo_version} --single-branch --depth=1
|
||||
if [[ "${?}" -ne 0 ]]; then
|
||||
printf "${color_danger}%s${color_end},\n" "Error! Something was wrong cloning ${repo} repository..."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user