Lines 478-484
xorg-2_src_install() {
Link Here
|
478 |
xorg-2_pkg_postinst() { |
478 |
xorg-2_pkg_postinst() { |
479 |
debug-print-function ${FUNCNAME} "$@" |
479 |
debug-print-function ${FUNCNAME} "$@" |
480 |
|
480 |
|
481 |
[[ -n ${FONT} ]] && setup_fonts "$@" |
481 |
if [[ -n ${FONT} ]]; then |
|
|
482 |
create_fonts_scale |
483 |
create_fonts_dir |
484 |
font_pkg_postinst "$@" |
485 |
fi |
482 |
} |
486 |
} |
483 |
|
487 |
|
484 |
# @FUNCTION: xorg-2_pkg_postrm |
488 |
# @FUNCTION: xorg-2_pkg_postrm |
Lines 488-505
xorg-2_pkg_postinst() {
Link Here
|
488 |
xorg-2_pkg_postrm() { |
492 |
xorg-2_pkg_postrm() { |
489 |
debug-print-function ${FUNCNAME} "$@" |
493 |
debug-print-function ${FUNCNAME} "$@" |
490 |
|
494 |
|
491 |
[[ -n ${FONT} ]] && font_pkg_postrm "$@" |
495 |
if [[ -n ${FONT} ]]; then |
492 |
} |
496 |
# if we're doing an upgrade, postinst will do |
493 |
|
497 |
if [[ ${EAPI} -lt 4 || -z ${REPLACED_BY_VERSION} ]]; then |
494 |
# @FUNCTION: setup_fonts |
498 |
create_fonts_scale |
495 |
# @DESCRIPTION: |
499 |
create_fonts_dir |
496 |
# Generates needed files for fonts and fixes font permissions |
500 |
font_pkg_postrm "$@" |
497 |
setup_fonts() { |
501 |
fi |
498 |
debug-print-function ${FUNCNAME} "$@" |
502 |
fi |
499 |
|
|
|
500 |
create_fonts_scale |
501 |
create_fonts_dir |
502 |
font_pkg_postinst |
503 |
} |
503 |
} |
504 |
|
504 |
|
505 |
# @FUNCTION: remove_font_metadata |
505 |
# @FUNCTION: remove_font_metadata |
506 |
- |
|
|