mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #432 from MilhouseVH/libreelec_unpack
build: start using .libreelec-unpack
This commit is contained in:
commit
f6d52c9bca
@ -30,8 +30,8 @@ clean_package() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for i in $BUILD/$1-*; do
|
for i in $BUILD/$1-*; do
|
||||||
if [ -d $i -a -f "$i/.openelec-unpack" ] ; then
|
if [ -d $i -a -f "$i/.libreelec-unpack" ] ; then
|
||||||
. "$i/.openelec-unpack"
|
. "$i/.libreelec-unpack"
|
||||||
if [ "$STAMP_PKG_NAME" = "$1" ]; then
|
if [ "$STAMP_PKG_NAME" = "$1" ]; then
|
||||||
printf "%${BUILD_INDENT}c ${boldred}*${endcolor} ${red}Removing $i ...${endcolor}\n" ' '>&$SILENT_OUT
|
printf "%${BUILD_INDENT}c ${boldred}*${endcolor} ${red}Removing $i ...${endcolor}\n" ' '>&$SILENT_OUT
|
||||||
rm -rf $i
|
rm -rf $i
|
||||||
|
@ -30,7 +30,7 @@ if [ ! -f $PKG_DIR/package.mk ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
STAMP=$PKG_BUILD/.openelec-unpack
|
STAMP=$PKG_BUILD/.libreelec-unpack
|
||||||
|
|
||||||
if [ -f $STAMP ] ; then
|
if [ -f $STAMP ] ; then
|
||||||
printf "%${BUILD_INDENT}c ${boldcyan}SKIP_UNPACK${endcolor} $1\n" ' '>&$SILENT_OUT
|
printf "%${BUILD_INDENT}c ${boldcyan}SKIP_UNPACK${endcolor} $1\n" ' '>&$SILENT_OUT
|
||||||
|
@ -32,7 +32,7 @@ fi
|
|||||||
|
|
||||||
$SCRIPTS/get $1
|
$SCRIPTS/get $1
|
||||||
|
|
||||||
STAMP=$PKG_BUILD/.openelec-unpack
|
STAMP=$PKG_BUILD/.libreelec-unpack
|
||||||
|
|
||||||
mkdir -p $BUILD
|
mkdir -p $BUILD
|
||||||
|
|
||||||
@ -41,8 +41,8 @@ mkdir -p $BUILD
|
|||||||
STAMP_DEPENDS="$PKG_DIR $PKG_NEED_UNPACK $PROJECT_DIR/$PROJECT/patches/$PKG_NAME"
|
STAMP_DEPENDS="$PKG_DIR $PKG_NEED_UNPACK $PROJECT_DIR/$PROJECT/patches/$PKG_NAME"
|
||||||
|
|
||||||
for i in $BUILD/$1-*; do
|
for i in $BUILD/$1-*; do
|
||||||
if [ -d $i -a -f "$i/.openelec-unpack" ] ; then
|
if [ -d $i -a -f "$i/.libreelec-unpack" ] ; then
|
||||||
. "$i/.openelec-unpack"
|
. "$i/.libreelec-unpack"
|
||||||
if [ "$STAMP_PKG_NAME" = "$1" ]; then
|
if [ "$STAMP_PKG_NAME" = "$1" ]; then
|
||||||
PKG_DEEPMD5=$(find $STAMP_DEPENDS -exec md5sum {} \; 2>/dev/null | sort | md5sum | cut -d" " -f1)
|
PKG_DEEPMD5=$(find $STAMP_DEPENDS -exec md5sum {} \; 2>/dev/null | sort | md5sum | cut -d" " -f1)
|
||||||
if [ ! "$PKG_DEEPMD5" = "$STAMP_PKG_DEEPMD5" ] ; then
|
if [ ! "$PKG_DEEPMD5" = "$STAMP_PKG_DEEPMD5" ] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user