mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/get: remove unneeded code
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8c6620af2d
commit
add47814c3
15
scripts/get
15
scripts/get
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -x
|
||||
. config/options $1
|
||||
|
||||
if [ -z $1 ]; then
|
||||
@ -12,13 +12,6 @@ fi
|
||||
mkdir -p $STAMPS_NOARCH/$1
|
||||
STAMP=$STAMPS_NOARCH/$1/get
|
||||
|
||||
if [ -f $PACKAGE_URL ]; then
|
||||
if [ -f $STAMP ]; then
|
||||
[ ! $STAMP -ot $PACKAGE_URL ] && exit 0
|
||||
fi
|
||||
DL="yes"
|
||||
fi
|
||||
|
||||
# if [ -n "$PKG_URL" ]; then
|
||||
# if [ -f $STAMP ]; then
|
||||
# [ ! $STAMP -ot $PKG_DIR/meta ] && exit 0
|
||||
@ -45,9 +38,6 @@ if [ "$DL" = yes ]; then
|
||||
|
||||
mkdir -p $SOURCES/$1
|
||||
|
||||
[ -f $PACKAGE_URL ] && \
|
||||
URLS=`sed s%GEEXBOX_SRCS%$GEEXBOX_SRCS% $PACKAGE_URL`
|
||||
|
||||
[ -n "$PKG_URL" ] && \
|
||||
URLS="$URLS `echo $PKG_URL | sed s%GEEXBOX_SRCS%$GEEXBOX_SRCS%`"
|
||||
|
||||
@ -63,9 +53,6 @@ if [ "$DL" = yes ]; then
|
||||
touch $STAMPS_NOARCH/$1/`basename $i`.ok
|
||||
done
|
||||
|
||||
[ -f $PACKAGE_URL ] && \
|
||||
cp -p $PACKAGE_URL $STAMP
|
||||
|
||||
[ -n "$PKG_URL" ] && \
|
||||
echo $PKG_URL > $STAMP
|
||||
# cp -p $PKG_DIR/meta $STAMP
|
||||
|
Loading…
x
Reference in New Issue
Block a user