From 6f34e15c7de285bde795f8241f35c1664401e6e5 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 24 Mar 2011 18:13:14 +0100 Subject: [PATCH] plymouth-lite: install to /sbin, install splash to /splash, cleanup Signed-off-by: Stephan Raue --- packages/sysutils/plymouth-lite/install | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/packages/sysutils/plymouth-lite/install b/packages/sysutils/plymouth-lite/install index 6b3bd14531..df85e99e69 100755 --- a/packages/sysutils/plymouth-lite/install +++ b/packages/sysutils/plymouth-lite/install @@ -22,16 +22,12 @@ . config/options $1 -if [ "$2" = initramfs ]; then - mkdir -p $INSTALL/initramfs/bin - cp $PKG_BUILD/ply-image $INSTALL/initramfs/bin +mkdir -p $INSTALL/sbin + cp $PKG_BUILD/ply-image $INSTALL/sbin - mkdir -p $INSTALL/initramfs - if [ -f $PROJECT_DIR/$PROJECT/splash/splash.png ]; then - cp $PROJECT_DIR/$PROJECT/splash/splash.png $INSTALL/initramfs/ - else - cp $PKG_DIR/splash/splash.png $INSTALL/initramfs/ - fi - - exit 0 -fi +mkdir -p $INSTALL/splash + if [ -f $PROJECT_DIR/$PROJECT/splash/splash.png ]; then + cp $PROJECT_DIR/$PROJECT/splash/splash.png $INSTALL/splash + else + cp $PKG_DIR/splash/splash.png $INSTALL/splash + fi