summaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-07-30 19:34:20 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-07-30 19:34:20 (GMT)
commitad00ecebaec8f19049f0f95cbc84129a34fc930c (patch)
tree0889abf1429aff9f63c7d86fc2c88f73ad0214e0 /build_tools
parentb793ac00caef0956a7b362197c656c996315d4f0 (diff)
downloadlinhes_dev-ad00ecebaec8f19049f0f95cbc84129a34fc930c.zip
change repo cleanup script to look for tar.xz instead of .gz
Should probably have used tar.?z
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/bin/repo-cleanup.sh4
1 files 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