Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-package-updates4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 8322e6d..612294e 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -403,9 +403,11 @@ while [ -n "${black_listed_new}" ]; do
{
printf 'CREATE TEMPORARY TABLE `bl` (`pkgbase` VARCHAR(64));\n'
printf 'INSERT INTO `bl` (`pkgbase`) VALUES '
- printf '(from_base64("%s")),\n' "${black_listed}" | \
+ printf '%s\n' "${black_listed}" | \
sort -u | \
sed '
+ s/^/(from_base64("/
+ s/$/")),/
$ s/,$/;/
'
printf 'SELECT replace(to_base64(`a_ps`.`pkgbase`),"\\n","")'