From f05923eda5d3a307f7fbfb44e451fd9441222aae Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 18 Feb 2018 21:03:16 +0100 Subject: bin/get-package-updates: use mysql_cleanup --- bin/get-package-updates | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'bin') diff --git a/bin/get-package-updates b/bin/get-package-updates index 1ce72e5..70f62e8 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -196,16 +196,8 @@ if ! flock -s ${block_flag} 8; then exit fi -# shellcheck disable=SC2016 -{ - printf 'DELETE FROM `binary_packages`' - printf ' WHERE `binary_packages`.`repository`=(' - printf 'SELECT `repositories`.`id`' - printf ' FROM `repositories`' - printf ' WHERE `repositories`.`name`="to-be-decided"' - printf ')' -} | \ - ${mysql_command} +# shellcheck disable=SC2119 +mysql_cleanup echo 'Check modified packages from the last update, and put them to the build list.' -- cgit v1.2.3-70-g09d2