Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/common-functions8
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