mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/install: cleanup old init support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
369beac09d
commit
4f6e36aa42
@ -56,11 +56,6 @@ for p in $PKG_DEPENDS $PKG_DEPENDS_TARGET; do
|
||||
$SCRIPTS/install $p
|
||||
done
|
||||
|
||||
if [ -d $PKG_DIR/init.d ]; then
|
||||
mkdir -p $INSTALL/etc/init.d
|
||||
cp $PKG_DIR/init.d/* $INSTALL/etc/init.d/
|
||||
fi
|
||||
|
||||
if [ -d $PKG_DIR/profile.d ]; then
|
||||
mkdir -p $INSTALL/etc/profile.d
|
||||
cp $PKG_DIR/profile.d/*.conf $INSTALL/etc/profile.d/
|
||||
@ -106,11 +101,6 @@ if [ -d $PKG_DIR/debug.d ]; then
|
||||
cp $PKG_DIR/debug.d/*.conf $INSTALL/usr/share/debugconf
|
||||
fi
|
||||
|
||||
if [ -d $PKG_DIR/init.network ]; then
|
||||
mkdir -p $INSTALL/etc/init.d/network
|
||||
cp $PKG_DIR/init.network/* $INSTALL/etc/init.d/network/
|
||||
fi
|
||||
|
||||
if [ -f $PKG_DIR/package.mk ]; then
|
||||
# unset functions
|
||||
unset -f pre_install
|
||||
|
Loading…
x
Reference in New Issue
Block a user