mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 19:11:57 +02:00
tldextract: add postinst einfo messages
This commit is contained in:
parent
257e71dacd
commit
8f0bb014ba
1 changed files with 11 additions and 0 deletions
|
|
@ -22,3 +22,14 @@ RDEPEND="${PYTHON_DEPS}
|
|||
|
||||
# https://github.com/john-kurkowski/tldextract#note-about-caching
|
||||
PATCHES=( "${FILESDIR}/${P}_change_tldextract_cache_defaults.patch" )
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "\nBeware when first running the module, it updates its TLD list with a live HTTP request."
|
||||
einfo "This updated TLD set is cached indefinitely in /path/to/tldextract/.tld_set.\n"
|
||||
einfo "To avoid this fetch or control the cache's location, use your own extract"
|
||||
einfo "callable by setting 'TLDEXTRACT_CACHE' environment variable or by setting the cache_file path"
|
||||
einfo "in TLDExtract initialization.\n"
|
||||
einfo "If you want to stay fresh with the TLD definitions--though they"
|
||||
einfo "don't change often--delete the cache file occasionally, or run:"
|
||||
einfo " ~$ env TLDEXTRACT_CACHE=\"~/tldextract.cache\" tldextract --update\n"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue