prune hidden directories (like .trash) in ovl search
This commit is contained in:
parent
46981535ce
commit
134360420b
Binary file not shown.
|
@ -4,7 +4,7 @@
|
|||
exec 1>/dev/console 2>&1
|
||||
|
||||
mkdir /tmp/.trash
|
||||
ovlpath=$( find /media -type f -name *.apkovl.tar.gz -exec dirname {} \; | head -1 )
|
||||
ovlpath=$( find /media -type d -path '*/.*' -prune -o -type f -name *.apkovl.tar.gz -exec dirname {} \; | head -1 )
|
||||
|
||||
|
||||
## Setup Network interfaces
|
||||
|
|
Loading…
Reference in New Issue