mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-25 11:46:43 +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
|
||||
fi
|
||||
|
||||
if [ "${PKG_SKIP_PATCHES}" != "yes" ]; then
|
||||
if [ "$(type -t pre_patch)" = "function" ]; then
|
||||
pre_patch
|
||||
fi
|
||||
@ -180,6 +181,7 @@ if [ -d "$SOURCES/$1" -o -d "$PKG_DIR/sources" ]; then
|
||||
if [ "$(type -t post_patch)" = "function" ]; then
|
||||
post_patch
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! "$PKG_NAME" == "configtools" ] ; then
|
||||
for config in `find $PKG_BUILD -name config.guess | sed 's/config.guess//'`; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user