aptosaurus: fix logic
This commit is contained in:
parent
d057a9cea7
commit
00e683d102
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)";
|
package_count_after="$(find ${dir_repo} -name "*.deb" | wc -l)";
|
||||||
task_end "${exit_code}";
|
task_end "${exit_code}";
|
||||||
|
|
||||||
if [[ "${package_count_before}" -eq "${package_count_after}" ]] || [[ ! -z "${FORCE_UPDATE}" ]]; then
|
if [[ "${package_count_before}" -eq "${package_count_after}" ]] && [[ -z "${FORCE_UPDATE}" ]]; then
|
||||||
echo "No new packages to process.";
|
echo "No new packages to process.";
|
||||||
exit 0;
|
exit 0;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue