mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/extract: fix zip extraction
should fix *.zip packages before pr: PKG_NAME-PKG_VERSION.zip creates build.OE.../PKG_NAME/PKG_NAME-PKG_VERSION/files instead of build.OE.../PKG_NAME-PKG_VERSION/files
This commit is contained in:
parent
0225c23d3f
commit
4b969daf57
@ -57,8 +57,7 @@ for i in $PKG_URL; do
|
||||
7z x -o$3/$1 $f
|
||||
;;
|
||||
*.zip)
|
||||
mkdir -p $3/$1
|
||||
unzip -q $f -d $3/$1
|
||||
unzip -q $f -d $3
|
||||
;;
|
||||
*.diff | *.patch)
|
||||
cat $f | patch -d $3 -p1
|
||||
|
Loading…
x
Reference in New Issue
Block a user