scripts/install: cleanup old init support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-23 12:37:43 +02:00
parent 369beac09d
commit 4f6e36aa42

View File

@ -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