diff --git a/mirror-check/PKGBUILD b/mirror-check/PKGBUILD index f4bafc82c..9c1eff52e 100644 --- a/mirror-check/PKGBUILD +++ b/mirror-check/PKGBUILD @@ -4,7 +4,7 @@ # maintainer: abveritas[at]chakra-project[dot]org> pkgname=mirror-check -pkgver=0.2 +pkgver=0.3 pkgrel=1 pkgdesc="Checks whether the locally used mirror is synced with the main" arch=('x86_64') @@ -12,7 +12,7 @@ url="http://www.chakra-project.org" license=('GPL2') makedepends=('asciidoc') source=('mirror-check') -md5sums=('a22424aa8e66a6dc066a77589a272d0e') +md5sums=('ab1b55077d637afdfcd5e9149ed01e52') package() { cd ${srcdir} diff --git a/mirror-check/mirror-check b/mirror-check/mirror-check index a57fa82df..74819659d 100755 --- a/mirror-check/mirror-check +++ b/mirror-check/mirror-check @@ -5,7 +5,7 @@ # mirror-check [REPOS...] checks repos given in REPOS if [[ "$#" == "0" ]]; then - repos=('core' 'platform' 'desktop' 'apps' 'games' 'lib32' 'testing' 'lib32-testing') + repos="$(cat /etc/pacman.conf | grep -v "#" | grep -v "options" | grep "\[" | cut -d[ -f2 | cut -d] -f1 | uniq | sed "{:q;N;s/\n/ /g;t q}")" else repos=($*) fi