mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
scripts/unpack: add PKG_SKIP_PATCHES support
This commit is contained in:
parent
3d1713527c
commit
afcecf7b0d
@ -106,6 +106,7 @@ if [ -d "$SOURCES/$1" -o -d "$PKG_DIR/sources" ]; then
|
|||||||
post_unpack
|
post_unpack
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${PKG_SKIP_PATCHES}" != "yes" ]; then
|
||||||
if [ "$(type -t pre_patch)" = "function" ]; then
|
if [ "$(type -t pre_patch)" = "function" ]; then
|
||||||
pre_patch
|
pre_patch
|
||||||
fi
|
fi
|
||||||
@ -180,6 +181,7 @@ if [ -d "$SOURCES/$1" -o -d "$PKG_DIR/sources" ]; then
|
|||||||
if [ "$(type -t post_patch)" = "function" ]; then
|
if [ "$(type -t post_patch)" = "function" ]; then
|
||||||
post_patch
|
post_patch
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! "$PKG_NAME" == "configtools" ] ; then
|
if [ ! "$PKG_NAME" == "configtools" ] ; then
|
||||||
for config in `find $PKG_BUILD -name config.guess | sed 's/config.guess//'`; do
|
for config in `find $PKG_BUILD -name config.guess | sed 's/config.guess//'`; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user