From ffeaeb0f0572d9f18b0ebcf659b5a45ec8ba05bb Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 27 Oct 2012 10:15:57 -0500 Subject: repo-cleanup.sh change i686 to x86_64 --- build_tools/bin/repo-cleanup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_tools/bin/repo-cleanup.sh b/build_tools/bin/repo-cleanup.sh index ed6c140..7b6338f 100755 --- a/build_tools/bin/repo-cleanup.sh +++ b/build_tools/bin/repo-cleanup.sh @@ -6,10 +6,10 @@ then echo "./repo_cleanup.sh $repo [core,core-testing,extra,extra-testing]" exit 1 fi -REPO=/data/pkg_repo/i686/$currentrepo +REPO=/data/pkg_repo/x86_64/$currentrepo pacman -Sl $repo |cut -d" " -f 2- |tr " " - > /tmp/$currentrepo-list cd $REPO >/dev/null -ls *-i686.pkg.tar.xz|sed -e "s/-i686.pkg.*$//" > /tmp/pkglist-$currentrepo +ls *-x86_64.pkg.tar.xz|sed -e "s/-x86_64.pkg.*$//" > /tmp/pkglist-$currentrepo cd - > /dev/null if [ ! -e /tmp/$currentrepo_dups ] then @@ -23,7 +23,7 @@ do if [ $? = 1 ] then echo "removing file $LINE" -# mv $REPO/$LINE-i686.pkg.tar.xz /tmp/$currentrepo_dups/ +# mv $REPO/$LINE-x86_64.pkg.tar.xz /tmp/$currentrepo_dups/ fi done < /tmp/pkglist-$currentrepo -- cgit v0.12