aptosaurus: fix logic

This commit is contained in:
Starbeamrainbowlabs 2020-05-13 20:27:04 +01:00
parent d057a9cea7
commit 00e683d102
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 1 deletions

View File

@ -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}" ]] || [[ ! -z "${FORCE_UPDATE}" ]]; then
if [[ "${package_count_before}" -eq "${package_count_after}" ]] && [[ -z "${FORCE_UPDATE}" ]]; then
echo "No new packages to process.";
exit 0;
else