From 81a59864c510480973c17101869ddb8dbc810e1f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 17 Jan 2018 14:42:18 +0100 Subject: bin/bootstrap-mysql: correctly set `repositories`.`is_on_master_mirror` --- bin/bootstrap-mysql | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'bin/bootstrap-mysql') diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql index e841d92..62d66d1 100755 --- a/bin/bootstrap-mysql +++ b/bin/bootstrap-mysql @@ -311,15 +311,15 @@ fi sed 's|,;|;|' for repo in \ - 'core:stable:1' \ - 'extra:stable:1' \ - 'community:stable:1' \ - 'build-support:standalone:1' \ - 'testing:testing:1' \ - 'community-testing:testing:1' \ - 'staging:staging:1' \ - 'community-staging:staging:1' \ - 'build-list:unbuilt:0'; do + 'core:stable:AQ=' \ + 'extra:stable:AQ=' \ + 'community:stable:AQ=' \ + 'build-support:standalone:AQ=' \ + 'testing:testing:AQ=' \ + 'community-testing:testing:AQ=' \ + 'staging:staging:AQ=' \ + 'community-staging:staging:AQ=' \ + 'build-list:unbuilt:AA='; do # shellcheck disable=SC2016 printf 'INSERT IGNORE INTO `repositories` (`name`,`stability`,`is_on_master_mirror`) SELECT' # shellcheck disable=SC2016 @@ -331,8 +331,7 @@ fi )" \ "$( printf '%s' "${repo}" | \ - cut -d: -f3 | \ - base64_encode_each + cut -d: -f3 )" \ "$( printf '%s' "${repo}" | \ -- cgit v1.2.3-70-g09d2