diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-24 11:09:23 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-24 11:09:23 -0300 |
commit | 40fa0a4c04a34740b40c88a75b7ef1c816cda195 (patch) | |
tree | eff09bbb2894dc2cc8e48588490bb0880d4ed947 /toru-path | |
parent | 22a9fdddd1f6fd02e1b8d8ca9022398cd64c68b2 (diff) |
Toru-path fixes
Diffstat (limited to 'toru-path')
-rwxr-xr-x | toru-path | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -7,8 +7,6 @@ LASTSYNCFILE=${TORUPATH}/lastsync.paths # TODO pass other paths via flags pkgbuilds=($(get_pkgbuilds ${ABSROOT})) paths=() -# TODO create a --ignore flag -ignore=($@) msg "Updating path cache" msg2 "${#pkgbuilds[@]} PKGBUILDs to update" @@ -21,8 +19,8 @@ for _pkgbuild in ${pkgbuilds[@]}; do fullpath=$(dirname $(readlink -f ${_pkgbuild})) - for _pkg in ${pkgname[@]}; do - paths+=(${_pkg}:${fullpath}) + for _pkg in ${pkgname[@]} ${provides[@]}; do + paths+=(${_pkg/[<>=]*}:${fullpath}) done done |