mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
scripts/install: use pkg_call
This commit is contained in:
parent
d0d28ee0a7
commit
b5be90e394
@ -130,9 +130,7 @@ unset -f post_install
|
|||||||
|
|
||||||
# install
|
# install
|
||||||
if [ "$TARGET" = target ] ; then
|
if [ "$TARGET" = target ] ; then
|
||||||
if [ "$(type -t pre_install)" = "function" ]; then
|
pkg_call_optional pre_install
|
||||||
pre_install
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TARGET" = "target" -a -d $PKG_BUILD/.install_pkg ]; then
|
if [ "$TARGET" = "target" -a -d $PKG_BUILD/.install_pkg ]; then
|
||||||
@ -144,9 +142,7 @@ elif [ "$TARGET" = "init" -a -d $PKG_BUILD/.install_init ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TARGET" = target ] ; then
|
if [ "$TARGET" = target ] ; then
|
||||||
if [ "$(type -t post_install)" = "function" ]; then
|
pkg_call_optional post_install
|
||||||
post_install
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
touch $STAMP
|
touch $STAMP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user