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