summaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-27 15:15:57 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-27 15:15:57 (GMT)
commitffeaeb0f0572d9f18b0ebcf659b5a45ec8ba05bb (patch)
tree656d95cacb84e147bbbdd38341e114152f91c65b /build_tools
parentbfa7dca8c393b0a54b6dda5301e8725a3aeecfb3 (diff)
downloadlinhes_dev-ffeaeb0f0572d9f18b0ebcf659b5a45ec8ba05bb.zip
repo-cleanup.sh change i686 to x86_64
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/bin/repo-cleanup.sh6
1 files 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