From ad00ecebaec8f19049f0f95cbc84129a34fc930c Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sat, 30 Jul 2011 14:34:20 -0500
Subject: change repo cleanup script to look for tar.xz instead of .gz Should
 probably have used tar.?z

---
 build_tools/bin/repo-cleanup.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build_tools/bin/repo-cleanup.sh b/build_tools/bin/repo-cleanup.sh
index bb4c369..071900e 100755
--- a/build_tools/bin/repo-cleanup.sh
+++ b/build_tools/bin/repo-cleanup.sh
@@ -9,7 +9,7 @@ fi
 REPO=/data/pkg_repo/i686/$currentrepo
 pacman -Sl $repo |cut -d" " -f 2- |tr " " - > /tmp/$currentrepo-list
 cd $REPO >/dev/null
-ls *-i686.pkg.tar.gz|sed -e "s/-i686.pkg.tar.gz//" > /tmp/pkglist-$currentrepo
+ls *-i686.pkg.tar.xz|sed -e "s/-i686.pkg.*$//" > /tmp/pkglist-$currentrepo
 cd - > /dev/null
 if [ ! -e /tmp/$currentrepo_dups ] 
 then
@@ -22,7 +22,7 @@ do
 	if [   $?  = 1 ]
 	then
 		echo "removing file $LINE"
-		mv $REPO/$LINE-i686.pkg.tar.gz /tmp/$currentrepo_dups/
+		mv $REPO/$LINE-i686.pkg.tar.xz /tmp/$currentrepo_dups/
 	fi	
 done < /tmp/pkglist-$currentrepo
 
-- 
cgit v0.12