mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
scripts/unpack, scripts/extract: add support to extract '*.7z' files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -30,6 +30,10 @@ for s in `sed 's%.*/\(.*\)\$%\1%' $PKG_DIR/url`; do
|
||||
*.tar.gz | *.tgz)
|
||||
tar xzf $f -C $3
|
||||
;;
|
||||
*.7z)
|
||||
mkdir -p $3/$1
|
||||
7z x -o$3/$1 $f
|
||||
;;
|
||||
*.diff | *.patch)
|
||||
cat $f | patch -d $3 -p1
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user