diff options
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/bin/repo-cleanup.sh | 4 |
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 |