diff options
author | Erich Eckner <git@eckner.net> | 2019-02-15 08:52:41 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-15 08:52:41 +0100 |
commit | 5413ad5226ba8626467606d6803617750484f673 (patch) | |
tree | ce589ab475abd0429df52828c3a8ff84af3c67cb /lib/common-functions | |
parent | 5e1d35d85ecd5c58b9b2195dcb55b642a0bffdbf (diff) | |
download | builder-5413ad5226ba8626467606d6803617750484f673.tar.xz |
lib/common-functions: remove_old_package_versions(): remove signatures from pool/, too
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-x | lib/common-functions | 8 |
1 files changed, 6 insertions, 2 deletions
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 |