diff options
Diffstat (limited to 'src/toru/toru-where')
-rwxr-xr-x | src/toru/toru-where | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/toru/toru-where b/src/toru/toru-where new file mode 100755 index 0000000..4b3ff1b --- /dev/null +++ b/src/toru/toru-where @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# Locates a PKGBUILD dir on toru's path cache +. $(librelib conf.sh) +load_files libretools +check_vars libretools TORUPATH || exit 1 + +PATHFILE=${TORUPATH}/paths.tch + +tcamgr get ${PATHFILE} $1 2>/dev/null || echo "" |