aptosaurus: add FORCE_UPDATE override
This commit is contained in:
parent
9b14a99309
commit
efe6d55913
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ task_update() {
|
|||
package_count_after="$(find ${dir_repo} -name "*.deb" | wc -l)";
|
||||
task_end "${exit_code}";
|
||||
|
||||
if [[ "${package_count_before}" -eq "${package_count_after}" ]]; then
|
||||
if [[ "${package_count_before}" -eq "${package_count_after}" ]] || [[ ! -z "${FORCE_UPDATE}" ]]; then
|
||||
echo "No new packages to process.";
|
||||
exit 0;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue