Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/mysql-functions6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index cd35df4..27f327b 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -1492,7 +1492,11 @@ mysql_retrieve_static_information() {
printf ' FROM `compressions`;\n'
printf 'SELECT CONCAT('
printf '"package_compression_suffix_regex=\\"",'
- printf 'GROUP_CONCAT(`compressions`.`suffix` SEPARATOR "\\\\|"),'
+ printf 'GROUP_CONCAT('
+ printf 'REPLACE('
+ printf '`compressions`.`suffix`,'
+ printf '".","\\\\."'
+ printf ') SEPARATOR "\\\\|"),'
printf '"\\""'
printf ') FROM `compressions`;\n'
} | \