Applying patch from Helmut Grohne <helmut@subdivi.de> to fix installation on bookworm causing file loss (Closes: #1092737).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
3cc5ddcd76
commit
e31cfd5aef
2 changed files with 7 additions and 0 deletions
2
debian/zutils.preinst
vendored
2
debian/zutils.preinst
vendored
|
@ -8,6 +8,8 @@ case "${1}" in
|
|||
install)
|
||||
for FILE in zcat zcmp zdiff zegrep zfgrep zgrep
|
||||
do
|
||||
# We may move $FILE to $FILE.gzip when we expected $FILE.gzip.usr-is-merged here.
|
||||
# This is ok, because gzip will be upgraded and overwrite $FILE.gzip.
|
||||
dpkg-divert --package zutils --quiet --add --rename --divert "/usr/bin/${FILE}.gzip" "/usr/bin/${FILE}"
|
||||
dpkg-divert --package zutils --quiet --add --rename --divert "/bin/${FILE}.gzip.usr-is-merged" "/bin/${FILE}"
|
||||
dpkg-divert --package zutils --quiet --add --rename --divert /usr/share/man/man1/${FILE}.gzip.1.gz /usr/share/man/man1/${FILE}.1.gz
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue