Distribution settings for LightDM
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.

bootstrap 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #!/bin/bash
  2. set -e
  3. source ./functions.sh
  4. source_version_info
  5. debian_changelog
  6. cleanup_old_builds
  7. debian_cleanup
  8. debian_foo_basics
  9. basic_control lightdm
  10. debian_rules
  11. # debian
  12. sed -e "s/\@CODENAME_SAFE\@/${CODENAME_SAFE}/g" \
  13. -e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
  14. ./debtemplate/copyright \
  15. > ./debian/copyright
  16. sed -e "s/\@CODENAME_SAFE\@/${CODENAME_SAFE}/g" \
  17. -e "s/\@DISPLAY\@/${DISPLAY}/g" \
  18. ./debtemplate/get-template \
  19. > ./debian/get-template
  20. chmod 755 ./debian/get-template
  21. ## GTK
  22. sed -e "s/\@CODENAME_SAFE\@/${CODENAME_SAFE}/g" \
  23. -e "s/\@DISPLAY\@/${DISPLAY}/g" \
  24. ./debtemplate/gtk-settings.install \
  25. > ./debian/${CODENAME_SAFE}-lightdm-gtk-settings.install
  26. sed -e "s/\@CODENAME_SAFE\@/${CODENAME_SAFE}/g" \
  27. -e "s/\@DISPLAY\@/${DISPLAY}/g" \
  28. ./debtemplate/gtk-settings.postinst \
  29. > ./debian/${CODENAME_SAFE}-lightdm-gtk-settings.postinst
  30. sed -e "s/\@CODENAME_SAFE\@/${CODENAME_SAFE}/g" \
  31. -e "s/\@DISPLAY\@/${DISPLAY}/g" \
  32. ./debtemplate/gtk-settings.prerm \
  33. > ./debian/${CODENAME_SAFE}-lightdm-gtk-settings.prerm
  34. sed -e "s/\@CODENAME_SAFE\@/${CODENAME_SAFE}/g" \
  35. -e "s/\@DISPLAY\@/${DISPLAY}/g" \
  36. ./template/gtk-greeter.conf \
  37. > ./lightdm-gtk-greeter.conf
  38. ## KDE
  39. sed -e "s/\@CODENAME_SAFE\@/${CODENAME_SAFE}/g" \
  40. -e "s/\@DISPLAY\@/${DISPLAY}/g" \
  41. ./debtemplate/kde-settings.install \
  42. > ./debian/${CODENAME_SAFE}-lightdm-kde-settings.install
  43. sed -e "s/\@CODENAME_SAFE\@/${CODENAME_SAFE}/g" \
  44. -e "s/\@DISPLAY\@/${DISPLAY}/g" \
  45. ./debtemplate/kde-settings.postinst \
  46. > ./debian/${CODENAME_SAFE}-lightdm-kde-settings.postinst
  47. sed -e "s/\@CODENAME_SAFE\@/${CODENAME_SAFE}/g" \
  48. -e "s/\@DISPLAY\@/${DISPLAY}/g" \
  49. ./debtemplate/kde-settings.prerm \
  50. > ./debian/${CODENAME_SAFE}-lightdm-kde-settings.prerm
  51. sed -e "s/\@CODENAME_SAFE\@/${CODENAME_SAFE}/g" \
  52. -e "s/\@DISPLAY\@/${DISPLAY}/g" \
  53. ./template/lightdm-kde-greeter.conf \
  54. > lightdm-kde-greeter.conf
  55. exit 0