summaryrefslogtreecommitdiff
path: root/liste-verfuegbare-Versionen
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-07 18:12:58 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-07 18:12:58 +0200
commit975f3a9c8a292c8266b460cf7f0211bce076cce6 (patch)
treefef7c70e7dd72b9bbad140cca65c546845438721 /liste-verfuegbare-Versionen
parent0d2242f0449d7c3cb4c51dc30478666dbc9c2285 (diff)
downloadarchlinuxewe-975f3a9c8a292c8266b460cf7f0211bce076cce6.tar.xz
liste-verfuegbare-Versionen: refactoring
Diffstat (limited to 'liste-verfuegbare-Versionen')
-rwxr-xr-xliste-verfuegbare-Versionen3
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 '