|
|
|
@ -140,7 +140,8 @@ push_repo() { |
|
|
|
|
elif [[ ${push_repo} -ne 1 ]]; then |
|
|
|
|
return |
|
|
|
|
fi |
|
|
|
|
run_cmd "rsync -vrtlh --delete-before ${repo_basepath}/${repo_basename} ${repo_basepath}/archive_${repo_basename} ${remote_login}:${repo_remote_basepath}/ ${dry}" |
|
|
|
|
run_cmd "rsync -vrtlh --delete-before ${repo_basepath}/${repo_basename} ${remote_login}:${repo_remote_basepath}/ ${dry}" |
|
|
|
|
run_cmd "rsync -vrtlh ${repo_basepath}/archive_${repo_basename} ${remote_login}:${repo_remote_basepath}/ ${dry}" |
|
|
|
|
run_cmd_check 1 "Could not push packages to remote repo!" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -150,7 +151,8 @@ push_testing_repo() { |
|
|
|
|
elif [[ ${push_testing_repo} -ne 1 ]]; then |
|
|
|
|
return |
|
|
|
|
fi |
|
|
|
|
run_cmd "rsync -vrtlh --delete-before ${repo_basepath}/${repo_basename}-testing ${repo_basepath}/archive_${repo_basename}-testing ${remote_login}:${repo_remote_basepath}/ ${dry}" |
|
|
|
|
run_cmd "rsync -vrtlh --delete-before ${repo_basepath}/${repo_basename}-testing ${remote_login}:${repo_remote_basepath}/ ${dry}" |
|
|
|
|
run_cmd "rsync -vrtlh ${repo_basepath}/${repo_basename}-testing ${repo_basepath}/archive_${repo_basename}-testing ${remote_login}:${repo_remote_basepath}/ ${dry}" |
|
|
|
|
run_cmd_check 1 "Could not push packages to remote testing repo!" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|