mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-06 08:27:22 +08:00
feat: New extraction method
This commit is contained in:
parent
4c1bc9c3d6
commit
cd194c7e97
@ -31,12 +31,9 @@ if [ -n "$URL" ]; then
|
||||
fi
|
||||
fi
|
||||
if [[ "${URL,,}" != "http"* ]] && [[ "${URL,,}" != "file:"* ]] ; then
|
||||
URL="file://$STORAGE/$BASE.pat"
|
||||
if [ ! -s "$STORAGE/$BASE.pat" ]; then
|
||||
URL="file:///$BASE.pat"
|
||||
if [ ! -s "/$BASE.pat" ]; then
|
||||
error "File '$BASE.pat' does not exist!" && exit 65
|
||||
fi
|
||||
URL="file:///$BASE.pat"
|
||||
if [ ! -s "/$BASE.pat" ]; then
|
||||
error "File '$BASE.pat' does not exist!" && exit 65
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user