mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-30 19:09:03 +00:00
Fix syntax
This commit is contained in:
parent
72677ff7d5
commit
f080ae2bca
@ -972,10 +972,10 @@ download_install() {
|
|||||||
num_files=0
|
num_files=0
|
||||||
for extracted_item in "$tmp_dir/$download_name"/*; do
|
for extracted_item in "$tmp_dir/$download_name"/*; do
|
||||||
if [ -d "$extracted_item" ]; then
|
if [ -d "$extracted_item" ]; then
|
||||||
num_dirs="$((num_dirs+1))"
|
num_dirs="$(($num_dirs+1))"
|
||||||
extracted_dir="$(basename "$extracted_item")"
|
extracted_dir="$(basename "$extracted_item")"
|
||||||
elif [ -f "$extracted_item" ]; then
|
elif [ -f "$extracted_item" ]; then
|
||||||
num_files="$((num_files+1))"
|
num_files="$(($num_files+1))"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user