summaryrefslogtreecommitdiff
path: root/app-text/texlive-core
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-01 10:06:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-01 10:06:27 +0000
commit6e20a434f030191fb9f90961ab609abdf86c4b4a (patch)
tree80601443014010b74f80c6ec9a0f2d18756c1d7f /app-text/texlive-core
parent6438b14169223c6931a87dd4e1e357934b2c0852 (diff)
gentoo auto-resync : 01:03:2023 - 10:06:27
Diffstat (limited to 'app-text/texlive-core')
-rw-r--r--app-text/texlive-core/Manifest2
-rw-r--r--app-text/texlive-core/texlive-core-2021-r6.ebuild18
2 files changed, 19 insertions, 1 deletions
diff --git a/app-text/texlive-core/Manifest b/app-text/texlive-core/Manifest
index 42064a9afa15..2c75504aa2fc 100644
--- a/app-text/texlive-core/Manifest
+++ b/app-text/texlive-core/Manifest
@@ -196,5 +196,5 @@ DIST tl-xpdfopen-2021.tar.xz 560 BLAKE2B a17eaa3fe349aef2d5a192040196e1fce3b7293
DIST tl-xpdfopen.doc-2021.tar.xz 28180 BLAKE2B 2b247fea8d1901ad91cf19a197c17b5c0f4cf1ce817e07ac6dd3bda1e28019b7c296e07e567a55d530da4a898a6ccadc2e637f85aad401a99dc1f02f8020048a SHA512 bb4be8fe1b4590e74a7573baa1d699895fb62f6b30b05c9c81655001c75ffb43a6d7f92deca337072690ce3297d4ab06f1aca389524c5d5d500a9fce4abd8404
EBUILD texlive-core-2021-r2.ebuild 11787 BLAKE2B ae5ce4b5d4c3ac4a90859550952e2f301665721061a8c016a4d1306d4ee86bc005652686dc8e5442208dc10844bbbd8238a796c7fae45cda5618cc9f37d68db3 SHA512 84777c8ac15505324fdcdb54b25b31897a5f78e6a9f4de00cfc3ed6fcbc632d7ebd46cbff41d60f15eb8130ef5c2ee305949f1ffe8418a02a5973e67145c532a
EBUILD texlive-core-2021-r3.ebuild 11955 BLAKE2B e959f428044529b8f98f53b08b492abb470d4ff4c13e7051c16e070469cd2a3975fb32a748c78139a6b036b6cc82f82575176b7ab25a8fb04127ed31a80b8bbe SHA512 5b851199d3697a6bebc8550825d59349abec05adbc3d9a6d655c802cf638133fcf89034c1f4449c997b2fc378935ea55c80a158229b012f1e695506f44033da9
-EBUILD texlive-core-2021-r6.ebuild 12152 BLAKE2B dc24eaef44445f3cd0133ea95e752fcd322bb190415f0a4ed8816d8c3794f213bcb92c32b56e60556f5ae09d0bbb91474462b32037671aef6465a02ef111d392 SHA512 cef0a8e32a484904af4b66b640142e9a0a373d7c1aeea907000b9c8ec2f7f8c9f3f9c5d03dcf9fb4ae67d2b22a4b80a5d853a1028f6c1c8896196ccbcec3f4b1
+EBUILD texlive-core-2021-r6.ebuild 12566 BLAKE2B 774199d1f28ca5c686096ec5a5b8db541c141700683e7a600a568279bc63a8f7c3b2b7a62f5354a0584075e359507b83877731ca2dd3383b3acef20bfbcccdc2 SHA512 da5f7c3bb4fb0e875fe1276c24725680ac7ce637357c11c9bbb2ac4b6d78a0a77b4d8fc71b7c56c37832fae421415835a842086479b2240e7049d884e678a58d
MISC metadata.xml 763 BLAKE2B 32e271e244979763c3ed20da203b4a6fdd1646b1b5e92ea0fd3a3172e7f633cec56b55a4a638fa1f98394d4fa1ca443c3949528d30a5bf2564edc9979cc77515 SHA512 efe8b04dc9ea326a12eadccc2f5432563b0b87434028a7f2e671124d3fb08cbb384cd022471d44fec466f8558bab4344d2cbb47fe7e49461bbc802f4416c33e0
diff --git a/app-text/texlive-core/texlive-core-2021-r6.ebuild b/app-text/texlive-core/texlive-core-2021-r6.ebuild
index 0b463ff9a7ff..6ef89fc8bfd5 100644
--- a/app-text/texlive-core/texlive-core-2021-r6.ebuild
+++ b/app-text/texlive-core/texlive-core-2021-r6.ebuild
@@ -363,6 +363,24 @@ pkg_postinst() {
elog "If you have configuration files in ${EPREFIX}/etc/texmf to merge,"
elog "please update them and run ${EPREFIX}/usr/sbin/texmf-update."
elog
+
+ local display_migration_hint=false
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ local new_texlive_ver=$(ver_cut 1)
+ local replaced_version
+ for replaced_version in ${REPLACING_VERSIONS}; do
+ replaced_version=$(ver_cut 1 ${replaced_version})
+ if (( replaced_version < new_texlive_version )); then
+ display_migration_hint=true
+ break
+ fi
+ done
+ fi
+
+ if ! ${display_migration_hint}; then
+ return
+ fi
+
ewarn "If you are migrating from an older TeX distribution"
ewarn "Please make sure you have read:"
ewarn "https://wiki.gentoo.org/wiki/Project:TeX/Tex_Live_Migration_Guide"