mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
app-arch/gzip: Sync with Gentoo
It's from Gentoo commit 3a52a62a98f8f0101d7b33fc615790fb0368d29a.
This commit is contained in:
parent
d95cd17b27
commit
30ab7cc0f2
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gzip.asc
|
||||
inherit flag-o-matic verify-sig
|
||||
inherit eapi9-ver flag-o-matic verify-sig
|
||||
|
||||
DESCRIPTION="Standard GNU compressor"
|
||||
HOMEPAGE="https://www.gnu.org/software/gzip/"
|
||||
@ -80,14 +80,9 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
local ver
|
||||
for ver in ${REPLACING_VERSIONS}; do
|
||||
if ver_test "${ver}" -lt "1.12-r2"; then
|
||||
ewarn "This package no longer installs 'uncompress'."
|
||||
ewarn "Please use 'gzip -d' to decompress .Z files."
|
||||
fi
|
||||
done
|
||||
if ver_replacing -lt "1.12-r2"; then
|
||||
ewarn "This package no longer installs 'uncompress'."
|
||||
ewarn "Please use 'gzip -d' to decompress .Z files."
|
||||
fi
|
||||
|
||||
# ensure to preserve the symlinks before app-alternatives/gzip
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user