diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-08-07 18:12:58 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-08-07 18:12:58 +0200 |
commit | 975f3a9c8a292c8266b460cf7f0211bce076cce6 (patch) | |
tree | fef7c70e7dd72b9bbad140cca65c546845438721 | |
parent | 0d2242f0449d7c3cb4c51dc30478666dbc9c2285 (diff) | |
download | archlinuxewe-975f3a9c8a292c8266b460cf7f0211bce076cce6.tar.xz |
liste-verfuegbare-Versionen: refactoring
-rwxr-xr-x | liste-verfuegbare-Versionen | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/liste-verfuegbare-Versionen b/liste-verfuegbare-Versionen index acabba8e1..c3362ae81 100755 --- a/liste-verfuegbare-Versionen +++ b/liste-verfuegbare-Versionen @@ -11,7 +11,8 @@ sources=( sudo pacman -Sy >/dev/null || exit $? for i in "${!sources[@]}"; do - find "${sources["${i}"]}" -name '*.db' \ + source="${sources["${i}"]}" + find "${source}" -name '*.db' \ -exec bsdtar -Oxzf {} \; \ 2>/dev/null \ | sed -n ' |