mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
17 lines
323 B
Bash
Executable File
17 lines
323 B
Bash
Executable File
search() {
|
|
for folder in $1/*; do
|
|
if [ -f "$folder/update.rhai" ]; then
|
|
continue
|
|
else
|
|
echo $folder
|
|
fi
|
|
x=0
|
|
for thing in $folder/*; do
|
|
[[ -f $thing ]] && x=1 && break
|
|
done
|
|
[[ $x -eq 0 ]] && search $folder
|
|
done
|
|
}
|
|
|
|
search anda
|