From efe6d559134f35f2b8db6316cfc82d3654ecc87b Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 13 May 2020 20:23:21 +0100 Subject: [PATCH] aptosaurus: add FORCE_UPDATE override --- aptosaurus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aptosaurus.sh b/aptosaurus.sh index 0849f26..b940a84 100755 --- a/aptosaurus.sh +++ b/aptosaurus.sh @@ -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