Yuvipanda has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/176302

Change subject: tools: Update update-scripts.sh to update updated Packages 
properly
......................................................................

tools: Update update-scripts.sh to update updated Packages properly

We don't use gzipped Package lists anymore on tools, since (IIRC)
it caused apt-get update to get stuck sometimes.

Change-Id: If2fdf2976f8a28d7812c8c138be707b0c90f5d04
---
M modules/toollabs/files/update-repo.sh
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/02/176302/1

diff --git a/modules/toollabs/files/update-repo.sh 
b/modules/toollabs/files/update-repo.sh
index 2855829..a234a3e 100644
--- a/modules/toollabs/files/update-repo.sh
+++ b/modules/toollabs/files/update-repo.sh
@@ -7,8 +7,8 @@
 cd /data/project/.system/deb
 for arch in *; do
   if [ -d $arch ]; then
-    dpkg-scanpackages $arch | gzip -9c >$arch/Packages.gz~
-    mv $arch/Packages.gz~ $arch/Packages.gz
+    dpkg-scanpackages $arch > $arch/Packages~
+    mv $arch/Packages~ $arch/Packages
   fi
 done
 

-- 
To view, visit https://gerrit.wikimedia.org/r/176302
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If2fdf2976f8a28d7812c8c138be707b0c90f5d04
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to