diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-10 12:14:29 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-10 12:14:29 -0300 |
commit | bd6c4657611cb103b6d42cb562a8ceafbe7029c9 (patch) | |
tree | 88d7ebfb5edb979d346ced2bab573fac57e09653 | |
parent | 1873a2f71e77ffbd46258474851600bdb1ecc297 (diff) |
Started to work on a recutils capable toru
-rwxr-xr-x | toru-path | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ source $(dirname $(command -v $0))/toru-utils LASTSYNCFILE=${TORUPATH}/lastsync.paths # TODO pass other paths via flags -pkgbuilds=($(get_pkgbuilds ${ABSROOT})) +pkgbuilds=($(get_pkgbuilds ${ABSROOT}/core)) paths=() msg "Updating path cache" @@ -20,7 +20,7 @@ for _pkgbuild in ${pkgbuilds[@]}; do fullpath=$(dirname ${_pkgbuild}) for _pkg in ${pkgbase} ${pkgname[@]} ${provides[@]}; do - paths+=(${_pkg/[<>=]*}:${fullpath}) + recins -t ToruPath,t done unset pkgbase pkgname provides |