From 5413ad5226ba8626467606d6803617750484f673 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 15 Feb 2019 08:52:41 +0100 Subject: lib/common-functions: remove_old_package_versions(): remove signatures from pool/, too --- lib/common-functions | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/common-functions b/lib/common-functions index 772d889..70c5b49 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -259,9 +259,13 @@ remove_old_package_versions() { # sftp-remove packages if [ -s "${tmp_dir}/sftp-removes" ]; then sed ' - s|^|rm "| - s|$|"| + p + s/$/.sig/ ' "${tmp_dir}/sftp-removes" | \ + sed ' + s|^|rm "| + s|$|"| + ' | \ failsafe_sftp fi -- cgit v1.2.3-70-g09d2