mirror of
https://github.com/edu4rdshl/archlinux-pkgrecover.git
synced 2026-07-17 23:24:46 +00:00
Better variable naming.
This commit is contained in:
parent
768e9e228b
commit
ab8c93b36f
1 changed files with 2 additions and 2 deletions
|
|
@ -37,9 +37,9 @@ using_pacman_db() {
|
|||
matching_packages=()
|
||||
|
||||
# Find the common elements between the two arrays
|
||||
for dir in "${modified_db_dirs[@]}"; do
|
||||
for db_dir in "${modified_db_dirs[@]}"; do
|
||||
for pkg in "${installed_packages[@]}"; do
|
||||
if [[ "$dir" == $pkg-* ]]; then
|
||||
if [[ "$db_dir" == $pkg-* ]]; then
|
||||
matching_packages+=("$pkg")
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue