mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/extract: remove unneeded code
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
3ea40e68e5
commit
8c6620af2d
@ -7,12 +7,9 @@ if [ -z "$3" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ ! -f $PACKAGE_URL -a -z "$PKG_URL" ] && exit 1
|
||||
[ -z "$PKG_URL" ] && exit 1
|
||||
[ ! -d "$SOURCES/$1" -o ! -d "$3" ] && exit 1
|
||||
|
||||
[ -f $PACKAGE_URL ] && \
|
||||
FILES=`sed 's%.*/\(.*\)\$%\1%' $PACKAGE_URL`
|
||||
|
||||
[ -n "$PKG_URL" ] && \
|
||||
FILES="$FILES `echo $PKG_URL | sed 's%.*/\(.*\)\$%\1%'`"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user