Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 064edcd..f664b9a 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -119,7 +119,10 @@ mysql_add_package_source() {
shift
done
values="${values% * }"
- names="${names% *}"
+ names=$(
+ printf '%s\n' "${names% *}" | \
+ sed 's/ old_git_revision / /'
+ )
{
printf 'INSERT IGNORE INTO package_sources'