Commit 4ceb65ff authored by Manuel's avatar Manuel

Fix a little issue with the progress bar

parent 18a3b799
......@@ -5,14 +5,14 @@
pkgname=mirror-check
pkgver=1.0
pkgrel=1
pkgrel=2
pkgdesc="Checks whether the locally used mirror is synced with the main"
arch=('x86_64')
url="http://www.chakra-project.org"
license=('GPL2')
makedepends=('asciidoc')
source=('mirror-check' 'mirror-check.desktop')
md5sums=('28197d03788026282f8cb01e6081f713'
md5sums=('a1e0ee4816084e448a929ebe0cd761b8'
'5a0a0a1774ecd4808827e4c3cd6eca7c')
package() {
......
......@@ -18,11 +18,14 @@ function select_dialog() {
for repo in ${_repos[@]}; do
repostring="${repostring} ${repo} ${repo} on "
((_count++))
done
_parse=$(kdialog --title "${_title}" --checklist "Repositories being checked:" ${repostring})
_parse=$(echo ${_parse} | sed 's/"//g')
for repo in $_parse; do
((_count++))
done
}
function get_database() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment