diff options
-rwxr-xr-x | build_tools/bin/repo-cleanup.sh | 6 |
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 |