mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
813 B

  1. bootsplash_cm(){
  2. # Building and installing the utility
  3. cd Utilities
  4. make splash
  5. cp splash $root/sbin/
  6. cd ..
  7. echo Copying the documentation
  8. mkdir -p $root/$prefix/share/doc/bootsplash/Scripts
  9. cp -r Documentation/* $root/$prefix/share/doc/bootsplash/
  10. echo Copying initscripts to the Documentation
  11. cp Scripts/* $root/$prefix/share/doc/bootsplash/Scripts/
  12. echo Now installing themes from $archdir
  13. mkdir -p $root/$prefix/share/bootsplash/themes
  14. cd $root/$prefix/share/bootsplash/themes
  15. for t in $archdir/Theme-*; do
  16. tar $taropt $t;
  17. done
  18. echo Linking theme directory
  19. mkdir -p $root/etc/bootsplash
  20. ln -sf $root/$prefix/share/bootsplash/themes $root/etc/bootsplash/themes
  21. cp $confdir/stone_mod_bootsplash.sh $root/etc/stone.d/mod_bootsplash.sh
  22. echo Finished
  23. }
  24. custmain=bootsplash_cm