mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
plymouth-lite: check PROJECT dir first for splash
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
85cf400adc
commit
479f96c6de
@ -47,18 +47,18 @@ makeinstall_init() {
|
||||
cp ply-image $INSTALL/bin
|
||||
|
||||
mkdir -p $INSTALL/splash
|
||||
if [ -f $DISTRO_DIR/$DISTRO/splash/splash.conf ]; then
|
||||
cp $DISTRO_DIR/$DISTRO/splash/splash.conf $INSTALL/splash
|
||||
cp $DISTRO_DIR/$DISTRO/splash/*.png $INSTALL/splash
|
||||
elif [ -f $DISTRO_DIR/$DISTRO/splash/splash-1024.png \
|
||||
-o -f $DISTRO_DIR/$DISTRO/splash/splash-full.png ]; then
|
||||
cp $DISTRO_DIR/$DISTRO/splash/splash-*.png $INSTALL/splash
|
||||
elif [ -f $PROJECT_DIR/$PROJECT/splash/splash.conf ]; then
|
||||
if [ -f $PROJECT_DIR/$PROJECT/splash/splash.conf ]; then
|
||||
cp $PROJECT_DIR/$PROJECT/splash/splash.conf $INSTALL/splash
|
||||
cp $PROJECT_DIR/$PROJECT/splash/*.png $INSTALL/splash
|
||||
elif [ -f $PROJECT_DIR/$PROJECT/splash/splash-1024.png \
|
||||
-o -f $PROJECT_DIR/$PROJECT/splash/splash-full.png ]; then
|
||||
cp $PROJECT_DIR/$PROJECT/splash/splash-*.png $INSTALL/splash
|
||||
elif [ -f $DISTRO_DIR/$DISTRO/splash/splash.conf ]; then
|
||||
cp $DISTRO_DIR/$DISTRO/splash/splash.conf $INSTALL/splash
|
||||
cp $DISTRO_DIR/$DISTRO/splash/*.png $INSTALL/splash
|
||||
elif [ -f $DISTRO_DIR/$DISTRO/splash/splash-1024.png \
|
||||
-o -f $DISTRO_DIR/$DISTRO/splash/splash-full.png ]; then
|
||||
cp $DISTRO_DIR/$DISTRO/splash/splash-*.png $INSTALL/splash
|
||||
else
|
||||
cp $PKG_DIR/splash/splash-*.png $INSTALL/splash
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user