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
|
||||||
fi
|
fi
|
||||||
if [[ "${URL,,}" != "http"* ]] && [[ "${URL,,}" != "file:"* ]] ; then
|
if [[ "${URL,,}" != "http"* ]] && [[ "${URL,,}" != "file:"* ]] ; then
|
||||||
URL="file://$STORAGE/$BASE.pat"
|
URL="file:///$BASE.pat"
|
||||||
if [ ! -s "$STORAGE/$BASE.pat" ]; then
|
if [ ! -s "/$BASE.pat" ]; then
|
||||||
URL="file:///$BASE.pat"
|
error "File '$BASE.pat' does not exist!" && exit 65
|
||||||
if [ ! -s "/$BASE.pat" ]; then
|
|
||||||
error "File '$BASE.pat' does not exist!" && exit 65
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user