xenocara_rebrand.sh 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/bin/sh
  2. ########################################
  3. # name: xenocara_rebrand.sh
  4. # main: jadedctrl
  5. # lisc: isc
  6. # desc: rebranding xenocara sources for
  7. # use in lbsd.
  8. ########################################
  9. . ./libdeblob.sh
  10. if test -z $1; then
  11. echo "usage: xenocara_rebrand.sh xenocara_sources"
  12. exit 2
  13. else
  14. SRC_DIR="$1"
  15. fi
  16. PATCH_DIR=/tmp/xenocara_rebrand
  17. mkdir "$PATCH_DIR" 2> /dev/null
  18. # --------------------------------------
  19. rep "OpenBSD __osrelease__" "LibertyBSD __osrelease__" \
  20. app/fvwm/sample.fvwmrc/system.fvwmrc
  21. rep "Geometry 80x60" "Geometry 90x65" app/fvwm/sample.fvwmrc/system.fvwmrc
  22. filecp files/pixmaps/LibertyBSD_15bpp.xpm \
  23. app/xenodm/config/LibertyBSD_15bpp.xpm
  24. filecp files/pixmaps/LibertyBSD_1bpp.xpm app/xenodm/config/LibertyBSD_1bpp.xpm
  25. filecp files/pixmaps/LibertyBSD_4bpp.xpm app/xenodm/config/LibertyBSD_4bpp.xpm
  26. filecp files/pixmaps/LibertyBSD_8bpp.xpm app/xenodm/config/LibertyBSD_8bpp.xpm
  27. rep "OpenBSD_" "LibertyBSD_" app/xenodm/config/Xresources.in
  28. rep "OpenBSD_" "LibertyBSD_" app/xenodm/config/Makefile.in
  29. rep "OpenBSD_" "LibertyBSD_" app/xenodm/config/Makefile.am
  30. rep "OpenBSD_" "LibertyBSD_" app/xenodm/Makefile.bsd-wrapper
  31. rep "pixmaps/OpenBSD" "pixmaps/LibertyBSD" distrib/sets/lists/xshare/mi
  32. apply