mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
Merge pull request #4751 from at-visions/sourceless-pkgs-master
scripts/unpack: creates empty build-dir for packages without sources …
This commit is contained in:
commit
6815ed89ec
@ -94,6 +94,10 @@ if [ -d "$PKG_DIR/sources" ]; then
|
|||||||
cp -PRf $PKG_DIR/sources/* $BUILD/${PKG_NAME}-${PKG_VERSION}
|
cp -PRf $PKG_DIR/sources/* $BUILD/${PKG_NAME}-${PKG_VERSION}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$PKG_URL" ]; then
|
||||||
|
mkdir -p "${BUILD}/${PKG_NAME}-${PKG_VERSION}"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$(type -t post_unpack)" = "function" ]; then
|
if [ "$(type -t post_unpack)" = "function" ]; then
|
||||||
post_unpack
|
post_unpack
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user