index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
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 | |
parent | 5e1d35d85ecd5c58b9b2195dcb55b642a0bffdbf (diff) |
-rwxr-xr-x | lib/common-functions | 8 |
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 |